On Thursday, October 26, 2017 at 10:06:50 AM UTC-7, Troex Nevelin wrote:
>
> How do you think is it good idea to have a before_create hook which will 
> check if disable_insert_returning is set and assign id using nextval()? 
> Is it possible to check that?
>

That sounds OK.  You should be able to check via:

  this.opts[:disable_insert_returning]
 
Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to