Method: Sequel::DB2::DatabaseMethods#offset_strategy
- Defined in:
- lib/sequel/adapters/shared/db2.rb
#offset_strategy ⇒ Object
85 86 87 88 89 90 91 92 93 94 |
# File 'lib/sequel/adapters/shared/db2.rb', line 85 def offset_strategy return @offset_strategy if defined?(@offset_strategy) @offset_strategy = case strategy = opts[:offset_strategy].to_s when "limit_offset", "offset_fetch" opts[:offset_strategy] = strategy.to_sym else opts[:offset_strategy] = :emulate end end |