1.20.x select.inc | public SelectQuery::range($start = NULL, $length = NULL) |
Implements SelectQueryInterface::range().
return SelectQuery
Overrides SelectQueryInterface::range
File
- includes/
database/ select.inc, line 1616
Class
- SelectQuery
- Query builder for SELECT statements.
Code
public function range($start = NULL, $length = NULL) {
$this->range = func_num_args() ? array('start' => $start, 'length' => $length) : array();
return $this;
}