Method: InterMine::PathQuery::Query#offset
- Defined in:
- lib/intermine/query.rb
#offset(start) ⇒ Object
Set the index of the first row of results this query will return.
This method can be used to set a value for the query offset. The value given here will be overridden by any value supplied by #each_row or #each_result. If unset, results will start from the first row.
Returns self for method chaining.
See also #start= and #limit
415 416 417 418 |
# File 'lib/intermine/query.rb', line 415 def offset(start) @start = start return self end |