Module: ODBCAdapter

Defined in:
lib/odbc_adapter/error.rb,
lib/odbc_adapter/column.rb,
lib/odbc_adapter/quoting.rb,
lib/odbc_adapter/version.rb,
lib/odbc_adapter/registry.rb,
lib/odbc_adapter/column_metadata.rb,
lib/odbc_adapter/database_limits.rb,
lib/odbc_adapter/database_metadata.rb,
lib/odbc_adapter/schema_statements.rb,
lib/odbc_adapter/database_statements.rb,
lib/odbc_adapter/adapters/null_odbc_adapter.rb,
lib/odbc_adapter/adapters/mysql_odbc_adapter.rb,
lib/odbc_adapter/adapters/postgresql_odbc_adapter.rb

Defined Under Namespace

Modules: Adapters, DatabaseLimits, DatabaseStatements, Quoting, SchemaStatements Classes: Column, ColumnMetadata, ConnectionFailedError, DatabaseMetadata, QueryTimeoutError, Registry

Constant Summary collapse

VERSION =
'5.0.5'.freeze

Class Method Summary collapse

Class Method Details

.adapter_for(reported_name) ⇒ Object



36
37
38
# File 'lib/odbc_adapter/registry.rb', line 36

def adapter_for(reported_name)
  registry.adapter_for(reported_name)
end

.register(pattern, superclass = Object, &block) ⇒ Object



40
41
42
# File 'lib/odbc_adapter/registry.rb', line 40

def register(pattern, superclass = Object, &block)
  registry.register(pattern, superclass, &block)
end