I also tried to just add the record directly to th...
# orm-help
n
I also tried to just add the record directly to the join table but prisma doesn't recognise
_friends
-
Copy code
await prisma.friend.create({
    data: {
      connect: [
        {
          id: input.id,
        },
        {
          id: input.friendId,
        },
      ],
    },
  })