giggty
23rd May 2018, 16:56
Hello,
so suppose each time i create a a new record my key field gets its value inside set.object.defaults() hook (i. e. i do not set it with dal.set.field()). The question is how can i get this value after the record was inserted successfully without querying table explicitly (and in my case it would be difficult because it is a unique key field)?
so suppose each time i create a a new record my key field gets its value inside set.object.defaults() hook (i. e. i do not set it with dal.set.field()). The question is how can i get this value after the record was inserted successfully without querying table explicitly (and in my case it would be difficult because it is a unique key field)?