Hi,

is there a smart way of setting transaction level without including it in
the connect opts?

Basically, I want to make it impossible to forget to set it as a courtesy
to future me and coworkers.

>From reading the docs, it seems that
https://www.rubydoc.info/gems/sequel/4.38.0/Sequel%2FDatabase.after_initialize
is
almost, but not quite what I want.

I also found after_connect. Which does work, but that would require passing
it in in every connect call, as  I did not manage to override Sequel::OPTS.

Is there a way I'm not seeing?

regards,
Simon

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/CAJJT2-eWpFh1OTM4f4B7E57JQY6NYqeOsSv5gw%3DLkkVdi0SgkA%40mail.gmail.com.

Reply via email to