Class: DBI::DBD::Pg::Driver
- Inherits:
-
BaseDriver
- Object
- Base
- BaseDriver
- DBI::DBD::Pg::Driver
- Defined in:
- lib/dbd/Pg.rb
Overview
See DBI::BaseDriver.
Instance Method Summary collapse
-
#connect(dbname, user, auth, attr) ⇒ Object
Connect to a database.
-
#data_sources ⇒ Object
List of datasources for this database.
-
#initialize ⇒ Driver
constructor
A new instance of Driver.
Methods inherited from BaseDriver
#default_attributes, #default_user, #disconnect_all
Constructor Details
Instance Method Details
#connect(dbname, user, auth, attr) ⇒ Object
Connect to a database.
157 158 159 |
# File 'lib/dbd/Pg.rb', line 157 def connect(dbname, user, auth, attr) Database.new(dbname, user, auth, attr) end |
#data_sources ⇒ Object
List of datasources for this database.
152 153 154 |
# File 'lib/dbd/Pg.rb', line 152 def data_sources [] end |