Screw
DTDrizzle Team
•Created by Screw on 5/18/2024 in #help
Making a key in a object with jsonb unique
how would i make wallet_address unique?
4 replies
DTDrizzle Team
•Created by Screw on 1/6/2024 in #help
data is malformed on drizzle-kit V 0.20.10
13 replies
DTDrizzle Team
•Created by Screw on 10/29/2023 in #help
Using arrayContains with a jsonb postgres type
teamA is a jsonb type of
string[]
i want to see if the id exists inside whats the best way of doing this4 replies
DTDrizzle Team
•Created by Screw on 10/19/2023 in #help
where filter returning typescript error when nested within a with
7 replies
DTDrizzle Team
•Created by Screw on 9/22/2023 in #help
Transactions, PgBouncer/Supavisor, prepared statements
okay... i have spent way to long trying to figure out why when using transactions and a pooler on transaction mode it causes the connection to reset mid transaction statement causing a
prepared statement 'name' does not exist
which was very hard to debug.
still don't fully understand why transaction won't work i've tried everything i could find setting params binary_parameters=yes
(not even sure what this does, resetting database server (supabase). using a direct connection worked but wasn't something i could do forever.
so my fix was.... just remove transactions from my endpoints (which sucks but it is what it is)
if anyone else has this issue would love some help on how you worked around this or fixed???2 replies
DTDrizzle Team
•Created by Screw on 9/5/2023 in #help
is there a reason why my row isn't being delete with CURRENT_TIMESTAMP
expire_time is a sql timestamp with date and time
4 replies
DTDrizzle Team
•Created by Screw on 8/22/2023 in #help
0.28.3 types issue
is there a new way to handle typings in
0.28.3
i get type errors on my table builders and on 0.28.1
i do not3 replies
DTDrizzle Team
•Created by Screw on 8/18/2023 in #help
Issues with supabase inserts with drizzle
the transaction returns the team object with id from supabase db but when querying it to make sure it exists the team is not found. not sure whats going on exactly would love some clarification on is i'm just missing something
36 replies