Daniel Drozdov
DTDrizzle Team
•Created by Daniel Drozdov on 7/1/2024 in #help
How do errors work?
When does drizzle throw errors, if I call find first and it doesn't find anything will it throw?
2 replies
DTDrizzle Team
•Created by Daniel Drozdov on 6/7/2024 in #help
Not sure why we need to make relations when we have foreign keys?
After reading the docs, I understand that relations are a way to enforce some level of referential integrity on the application level as opposed to the database level. What I am confused about is whether I need to use them in order to make sure typescript is happy/to use the query api. Some clarity would be great on this as my first instinct is to completely forego the relations and just use foreign keys.
16 replies