sheldon
sheldon
DTDrizzle Team
Created by sheldon on 4/10/2024 in #help
How to tell Drizzle that a column whose value is assigned in a pg trigger is not required
I have a non-nullable column whose value is set in a Postgres insert trigger (like NEW.count = 123). How can I avoid TS errors when I try db.insert(myTable).values({})? Drizzle is complaining that count in this case needs a value.
1 replies