On Monday, May 6, 2019 at 6:16:28 AM UTC-7, [email protected] wrote:
>
> Hello!
>
> I'm little surprised when I do `DB.with_server(:nonexistent) { Artist.all 
> }` and I'm getting result from `:default` server instead of error.
>
> Can there be an option for exception? Or do I need to check via 
> `DB.servers` manually?
>

Please see the information on the :servers_hash option at 
http://sequel.jeremyevans.net/rdoc/files/doc/sharding_rdoc.html#label-Sharding

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