Class: DBI::DBD::MSSQL::Driver

Inherits:
BaseDriver show all
Defined in:
lib/dbd/mssql/driver.rb

Constant Summary collapse

PROVIDER_KEY =
:mssql

Constants inherited from BaseDriver

BaseDriver::DEFAULT_PROVIDER

Instance Method Summary collapse

Methods inherited from BaseDriver

#connect, #default_attributes, #default_user, #disconnect_all, #factory, #load_factory

Constructor Details

#initializeDriver

Returns a new instance of Driver.



9
10
11
# File 'lib/dbd/mssql/driver.rb', line 9

def initialize
  super(USED_DBD_VERSION, PROVIDER_KEY)
end

Instance Method Details

#create_database(connection, attr) ⇒ Object



13
14
15
# File 'lib/dbd/mssql/driver.rb', line 13

def create_database(connection, attr)
  Database.new(connection, attr)          
end