Class: Swift::DB::Postgres
Overview
Mysql
Instance Attribute Summary
Attributes inherited from Adapter
Instance Method Summary collapse
- #field_type(attribute) ⇒ Object
-
#initialize(options = {}) ⇒ Postgres
constructor
A new instance of Postgres.
- #returning? ⇒ Boolean
Methods inherited from Adapter
#all, #begin, #clone, #close, #commit, #create, #destroy, #drop_store, #dup, #escape, #execute, #first, #get, #identity_map, #migrate!, #prepare, #results, #rollback, #transaction, #update, #write
Constructor Details
#initialize(options = {}) ⇒ Postgres
Returns a new instance of Postgres.
14 15 16 |
# File 'lib/swift/db.rb', line 14 def initialize = {} super .update(driver: 'postgresql') end |