Doctrine\OrientDB\Query\Command\Select::between PHP Метод

between() публичный Метод

Index selects can query with the BETWEEN operator: select from index:name where x between 10.3 and 10.7
public between ( string $key, string $left, string $right ) : Select
$key string
$left string
$right string
Результат Select
    public function between($key, $left, $right)
    {
        $this->resetWhere();
        $this->where($key);
        $this->setTokenValues('Between', array($left, $right));
        return $this;
    }