function SelectQuery::range

Overrides SelectQueryInterface::range

File

includes/database/select.inc, line 1446

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.