Method: Clickhouse.connect
- Defined in:
- lib/clickhouse.rb
.connect(config = {}) ⇒ Object
50 51 52 53 |
# File 'lib/clickhouse.rb', line 50 def self.connect(config = {}) klass = (config[:urls] || config["urls"]) ? Cluster : Connection klass.new(config) end |