Generated definitions and updating to null

Hey, I'm trying to update certain columns to null, but the generated table definitions define the types of my nullable columns as <column type> | undefined. When using undefined as a value in an update to set the column to null it is omitted and thus not updated at all. I am able to set it to null by explicitly setting the value in the update object to null, but this causes typescript to complain about mismatched types.

What's the suggested way of handling updates to null while using typescript with the generated definitions?
Was this page helpful?