Dat Tran
DTDrizzle Team
•Created by Dat Tran on 3/13/2024 in #help
Parameterized queries or escaping input when prepare is not availabled?
This is not entirely related to drizzle but more of a limitation on the db provider side but I am using supabase with drizzle and according to supabase docs.
prepared statements are not available with this option.
when using Transaction
connection pooler. Which is recommended when using serverless.
So what is the correct way to sanitizing inputs in my case? I am also using supabase edge function.2 replies
DTDrizzle Team
•Created by Dat Tran on 1/18/2024 in #help
Check for insert result in a for loop
Hi, I am not sure how to do this but I have a for loop that run
insert
for each iteration. I don't really need to get the data inserted but I am interested whether or not the entire loop ran smoothly or not.
These are custom query so it's like db.execute(sql.raw())
and I get back a postgres.RowList
How can I check for error here?2 replies
DTDrizzle Team
•Created by Dat Tran on 12/20/2023 in #help
Drizzle-kit introspect:pg returned malformed schema.ts file
9 replies