Module: Sequel::JDBC::MSSQL::DatabaseMethods

Includes:
MSSQL::DatabaseMethods
Defined in:
lib/sequel/adapters/jdbc/mssql.rb

Overview

Database instance methods for MSSQL databases accessed via JDBC.

Constant Summary collapse

PRIMARY_KEY_INDEX_RE =
/\Apk__/i.freeze

Constants included from MSSQL::DatabaseMethods

MSSQL::DatabaseMethods::AUTO_INCREMENT, MSSQL::DatabaseMethods::DECIMAL_TYPE_RE, MSSQL::DatabaseMethods::SERVER_VERSION_RE, MSSQL::DatabaseMethods::SERVER_VERSION_SQL, MSSQL::DatabaseMethods::SQL_BEGIN, MSSQL::DatabaseMethods::SQL_COMMIT, MSSQL::DatabaseMethods::SQL_ROLLBACK, MSSQL::DatabaseMethods::SQL_ROLLBACK_TO_SAVEPOINT, MSSQL::DatabaseMethods::SQL_SAVEPOINT

Instance Attribute Summary

Attributes included from MSSQL::DatabaseMethods

#mssql_unicode_strings

Instance Method Summary collapse

Methods included from MSSQL::DatabaseMethods

#database_type, #server_version, #supports_savepoints?, #supports_transaction_isolation_levels?, #tables

Instance Method Details

#dataset(opts = nil) ⇒ Object

Return instance of Sequel::JDBC::MSSQL::Dataset with the given opts.



20
21
22
# File 'lib/sequel/adapters/jdbc/mssql.rb', line 20

def dataset(opts=nil)
  Sequel::JDBC::MSSQL::Dataset.new(self, opts)
end