Mr.Propre
Explore posts from serversDTDrizzle Team
•Created by Mr.Propre on 11/30/2023 in #help
relation select query with where condition
I want to select all user's tasks where parent id is null.
Can someone help me fix this query please:
these are the tables in question :
20 replies
DTDrizzle Team
•Created by Mr.Propre on 11/23/2023 in #help
Drizzle error instance
Is there a Drizzle error type that i can use for my Fastify global error handler ??
What im looking for is maybe something like the prisma error type
Prisma.PrismaClientKnownRequestError
, And what i want is to identify the drizzle error so i can handle them properly.
this is how my global error handler looks :
If there is a better way to handler db errors that i can use please tell me5 replies