Makisuo
Makisuo
Explore posts from servers
DTDrizzle Team
Created by Makisuo on 11/10/2023 in #help
Extracting the Query "With" Type
As title said I'm trying to extract the with type of a query, I tried out a bunch of stuff with no luck so far.
const query = db.user.findFirst({ with: This Type})
const query = db.user.findFirst({ with: This Type})
4 replies
DTDrizzle Team
Created by Makisuo on 4/3/2023 in #help
Help improving my query
2 replies
DTDrizzle Team
Created by Makisuo on 3/30/2023 in #help
Question: Wouldnt it make sense for value to be automatically notNull if you set a default
Right now you would need to use notNull().default(true), is there a reason for it be still nullable with just default?
3 replies