Alex.dev
Explore posts from serversDTDrizzle Team
•Created by Alex.dev on 11/12/2023 in #help
Set onDelete while using foreignKey function
![No description](https://cdn.answeroverflow.com/1173301063823130675/image.png)
4 replies
DTDrizzle Team
•Created by Alex.dev on 8/8/2023 in #help
Identifier is too long (should not exceed 63 characters)
Hello guys. I've got too long constraint id generated by drizzle kit in migration files. Is it safe to apply such migration? Maybe there is a way how I can set custom constraint id for some tables? Here is my schema
Here is the generated sql
12 replies
DTDrizzle Team
•Created by Alex.dev on 6/18/2023 in #help
Delete using pg query in drizzle
Hello guys, is there any way to implement following query in drizzle?
4 replies
DTDrizzle Team
•Created by Alex.dev on 5/5/2023 in #help
Transaction rollback
Hello guys. Kind of dumb question but should I cover body of transaction in try/catch and call rollback explicitly? Here is an example. What will happen some query throws an error in transaction callback?
9 replies