Thomsr
DTDrizzle Team
•Created by Thomsr on 12/7/2024 in #help
Unable to resolve "drizzle-seed"
When i run this code in expo go app i get the following error:
Unable to resolve "drizzle-seed" from "db\index.ts"
I do however get all the type information for the seed
function when i import it.
"drizzle-orm": "^0.37.0",
"drizzle-seed": "^0.1.2",
"drizzle-kit": "^0.29.1",
"expo-sqlite": "~15.0.3",4 replies
DTDrizzle Team
•Created by Thomsr on 11/17/2024 in #help
On delete cascade not working
I have the following tables:
Note that int the
sets
table, there is a statement that on deletion of an exercise, the sets should also be deleted.
however, when i test this, the rows in sets
with the exercise id of the deleted exercise are not deleted.
Am I doing something wrong?7 replies
DTDrizzle Team
•Created by Thomsr on 10/17/2024 in #help
Is there a way to create this query in drizzle?
Hi, I have this query for my mobile app with expo and react native. I need to have a recursive query, but cant seem to find how to create one in drizzle.
Please let me know if it is possible to rewrite this with drizzle :)
Thanks!
1 replies