1 select.inc public SelectQuery::range($start = NULL, $length = NULL)

Implements SelectQueryInterface::range().

Return value

SelectQuery:

Overrides SelectQueryInterface::range

File

core/includes/database/select.inc, line 1614

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;
}