Generated attributes on update?
I've got a table using a generated value (
GENERATED ALWAYS
) which can change on updates. generated? true
only appears to affect inserts.
I'm guessing there is a toggle somewhere to handle this maybe? Even if there's just a way to tell an update action, "Hey, definitely get the return value on the update for this one," that would also be perfect. I didn't see any obvious way in the DSLs but... that doesn't mean much, lol.3 Replies
🤔 that may be a bug? We should add returning on updates for those columns too
Lemme know if you have dug into this, otherwise I'm happy to patch. (Although I'm never sad for you to point me to the correct module, lol.)
nope, I haven't