Chi Hao
Explore posts from serversDTDrizzle Team
•Created by Chi Hao on 4/11/2024 in #help
update multiple rows is not working. PostgresError: column excluded.name does not exist
I'm trying to insert multiple rows and update onconflict for those rows that have conflict.
this is my schema for order_phases
I wonder if I'm using excluded wrongly?
6 replies
DTDrizzle Team
•Created by Chi Hao on 4/1/2024 in #help
How do I reuse the results from the where clause within the findMany?
I have a vendor ID and want to retrieve all restaurant IDs and menu IDs associated with that vendor. Can I use the same ID I passed in the where clause for menus as the value for the restaurant ID received in the first where clause?
7 replies
DTDrizzle Team
•Created by Chi Hao on 3/28/2024 in #help
How to use findMany?
I'm using supabase. I'm going to show a sample which doesnt necessarily need findMany to work but I would like to know how to use it as I'm unable to do it.
7 replies
DTDrizzle Team
•Created by Chi Hao on 3/9/2024 in #help
Connection timeout when connecting supabase to astro project while using Drizzle kit
this is the issue I ran into
4 replies