Module: Sequel::Progress::DatabaseMethods

Defined in:
lib/sequel/lib/sequel/adapters/shared/progress.rb

Instance Method Summary collapse

Instance Method Details

#database_typeObject

Progress uses the :progress database type.


6
7
8
# File 'lib/sequel/lib/sequel/adapters/shared/progress.rb', line 6

def database_type
  :progress
end

#dataset(opts = nil) ⇒ Object


10
11
12
13
14
# File 'lib/sequel/lib/sequel/adapters/shared/progress.rb', line 10

def dataset(opts = nil)
  ds = super
  ds.extend(DatasetMethods)
  ds
end