Method: Migratrix::Extractions::Extraction#process_source
- Defined in:
- lib/migratrix/extractions/extraction.rb
#process_source(source, options) ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/migratrix/extractions/extraction.rb', line 31 def process_source(source, ) if [:where] [:where].each do |where| source = handle_where(source, where) end end source = handle_order(source, [:order]) if [:order] source = handle_limit(source, [:limit]) if [:limit] source = handle_offset(source, [:offset]) if [:offset] source end |