Optional fk

Hello, I have an optional fk and I'd like to db.update it to be null (point to nothing). I'm receiving an error while trying to set it to undefined: No values to set . What's the intended way to do it?
1 Reply
Angelelz
Angelelz13mo ago
You need to explicitly set it to null
Want results from more Discord servers?
Add your server