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
Angelelz2y ago
You need to explicitly set it to null

Did you find this page helpful?