Error in DB update because of Date

For some reason drizzle is complaining that the property birthDate is not a Date because it cannot run the .toISOString() method on it. But I'm sure this is not the case.... I really don't know what is going on. birthDate: timestamp("birth_date", { mode: "date" }),
No description
No description
1 Reply
Nacho Elias
Nacho EliasOP7mo ago
nevermind, my issue was related to the onUpdateFn in my schema
Want results from more Discord servers?
Add your server