Alve
Alve
DTDrizzle Team
Created by Alve on 2/11/2025 in #help
Updating a date with the node-postgres adapter
I think I figured it out, I have a updatedAt that I forgot, that is exactly like what's in the issue I linked on the table 🙃 If I remove the $onUpdate it works, so I guess the date works, but I need to provide the old date from updatedAt...
12 replies
DTDrizzle Team
Created by Alve on 2/11/2025 in #help
Updating a date with the node-postgres adapter
but setting completedDate: queryResult.completedDate fails
12 replies
DTDrizzle Team
Created by Alve on 2/11/2025 in #help
Updating a date with the node-postgres adapter
that works fine apparently
12 replies
DTDrizzle Team
Created by Alve on 2/11/2025 in #help
Updating a date with the node-postgres adapter
I get out a date if I'm querying it, and that date object has toISOString. This happens somewhere internally in drizzle
12 replies
DTDrizzle Team
Created by Alve on 2/11/2025 in #help
Updating a date with the node-postgres adapter
Yeah it pruned my local db when I changed it so it should be fine
12 replies
DTDrizzle Team
Created by Alve on 2/11/2025 in #help
Updating a date with the node-postgres adapter
even when setting mode: "date" I get the exact same error
12 replies