Module: Hyperion::Postgres

Defined in:
lib/hyperion/postgres.rb,
lib/hyperion/postgres/db_strategy.rb,
lib/hyperion/postgres/query_builder_strategy.rb,
lib/hyperion/postgres/query_executor_strategy.rb

Defined Under Namespace

Classes: DbStrategy, QueryBuilderStrategy, QueryExecutorStrategy

Class Method Summary collapse

Class Method Details

.new(opts = {}) ⇒ Object



10
11
12
# File 'lib/hyperion/postgres.rb', line 10

def self.new(opts={})
  Sql::Datastore.new(opts[:connection_url], DbStrategy.new, QueryExecutorStrategy.new, QueryBuilderStrategy.new)
end