Doctrine\OrientDB\Query\Command\Select::limit PHP Method

limit() public method

Sets a limit to the SELECT.
public limit ( integer $limit )
$limit integer
    public function limit($limit)
    {
        $this->setToken('Limit', (int) $limit);
        return $this;
    }