DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
prisma usersWithZeroPosts
const usersWithZeroPosts = await prisma.user.findMany({ where: { posts: { none: {}, }, }, })
Source by www.prisma.io #
PREVIOUS
NEXT
Tagged:
#prisma
#usersWithZeroPosts
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit