Module: Sequel::MSSQL::DatabaseMethods
- Defined in:
- lib/sequel_core/adapters/shared/mssql.rb
Constant Summary collapse
- AUTO_INCREMENT =
'IDENTITY(1,1)'.freeze
- SQL_BEGIN =
"BEGIN TRANSACTION".freeze
- SQL_COMMIT =
"COMMIT TRANSACTION".freeze
- SQL_ROLLBACK =
"ROLLBACK TRANSACTION".freeze
Instance Method Summary collapse
Instance Method Details
#auto_increment_sql ⇒ Object
9 10 11 |
# File 'lib/sequel_core/adapters/shared/mssql.rb', line 9 def auto_increment_sql AUTO_INCREMENT end |
#dataset(opts = nil) ⇒ Object
13 14 15 16 17 |
# File 'lib/sequel_core/adapters/shared/mssql.rb', line 13 def dataset(opts = nil) ds = super ds.extend(DatasetMethods) ds end |