Dgirth
DTDrizzle Team
•Created by Dgirth on 10/24/2023 in #help
Filter for articles with at least one comment
I am trying to migrate to Drizzle from Prisma and I am having issue with being able to query for all Articles that has at least one Comment as the title says.
Here's a simplified version of my schema:
I have tried a bunch of iterations of the following:
Except this, gives me a syntax error at "(" ........
I hope someone can help me out understand my mistake and misunderstanding here as if I can handle this, every other query filter
should easily be migrated from Prisma in my code base. (hopefully!)
Thanks in advance!
24 replies