fermentfan
DTDrizzle Team
•Created by daniel on 6/11/2023 in #help
InferModel including relations?
That's not really a good fitting solution everywhere right? I don't want to write code just so I can define my types correctly... Is there another way? In my case I want to define a function parameter that is the type of a single relation in my table.
16 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
I think it’s a fundamental architectural difference in drizzle vs Prisma as one works by using Typescript only, while Prisma is generating code in your project root.
14 replies
DTDrizzle Team
•Created by Will on 8/3/2023 in #help
How do I import a type?
Do it like this:
myEntity
being the table description in your schema.14 replies
DTDrizzle Team
•Created by fermentfan on 7/30/2023 in #help
Mocking Drizzle instance
@bloberenober @Andrew Sherman Any idea? 😦
22 replies