For example, finding all posts made by a certain U...
# orm-help
j
For example, finding all posts made by a certain User (by id). In the prisma client docs you can do something like prisma.user({ id: userId}).posts(); It seems like in bindings have to do something like db.query.posts({ where { user: { id: userId } } }) or maybe db.query.posts({ where: { userId: { id: userId } } }); I would think it was the former but it seems like it wants me to do the latter which seems really odd to me?