Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

prisma where in array

const getUser = await prisma.user.findMany({
  where: {
    id: { in: [22, 91, 14, 2, 5] },
  },
})
Source by www.prisma.io #
 
PREVIOUS NEXT
Tagged: #prisma #array
ADD COMMENT
Topic
Name
7+3 =