Method: Sequel::ShardedSingleConnectionPool#conn
- Defined in:
- lib/sequel/connection_pool/sharded_single.rb
#conn(server = :default) ⇒ Object
The connection for the given server.
35 36 37 |
# File 'lib/sequel/connection_pool/sharded_single.rb', line 35 def conn(server=:default) @conns[@servers[server]] end |