Class: YADM::Adapters::PostgreSQL
- Inherits:
-
Object
- Object
- YADM::Adapters::PostgreSQL
- Defined in:
- lib/yadm/adapters/postgresql.rb
Instance Method Summary collapse
-
#initialize(connection_parameters = {}) ⇒ PostgreSQL
constructor
A new instance of PostgreSQL.
Methods included from CommonSQL
#add, #change, #count, #filter, #from, #get, #limit, #migrate, #order, #remove, #send_query, sequelize
Methods included from Base
Constructor Details
#initialize(connection_parameters = {}) ⇒ PostgreSQL
Returns a new instance of PostgreSQL.
12 13 14 |
# File 'lib/yadm/adapters/postgresql.rb', line 12 def initialize(connection_parameters = {}) @connection = Sequel.connect(adapter: :postgres, **connection_parameters) end |