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

Return value

SelectQuery:

Overrides SelectQueryInterface::range

File

core/includes/database/select.inc, line 1807
Contains classes and interfaces for Select queries.

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