PHP Класс Doctrine\OrientDB\Query\Command\Select

Наследование: extends Doctrine\OrientDB\Query\Command, implements Doctrine\OrientDB\Query\Command\SelectInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $target = null ) Builds a Select object injecting the $target into the FROM clause.
between ( string $key, string $left, string $right ) : Select Converts the "normal" select into an index one.
limit ( integer $limit ) Sets a limit to the SELECT.
orderBy ( array $order, boolean $append = true, boolean $first = false ) Orders the query.
resetWhere ( ) : true Deletes all the WHERE and BETWEEN conditions in the current SELECT.
select ( array $projections, boolean $append = true ) Sets the fields to select.
skip ( $records ) Sets the number of records to skip.

Защищенные методы

Метод Описание
getSchema ( )
getTokenFormatters ( ) : array Returns the formatters for this query tokens

Описание методов

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

Builds a Select object injecting the $target into the FROM clause.
public __construct ( array $target = null )
$target array

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

getSchema() защищенный Метод

protected getSchema ( )

getTokenFormatters() защищенный Метод

Returns the formatters for this query tokens
protected getTokenFormatters ( ) : array
Результат array

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

Sets a limit to the SELECT.
public limit ( integer $limit )
$limit integer

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

Orders the query.
public orderBy ( array $order, boolean $append = true, boolean $first = false )
$order array
$append boolean
$first boolean

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

Deletes all the WHERE and BETWEEN conditions in the current SELECT.
public resetWhere ( ) : true
Результат true

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

Sets the fields to select.
public select ( array $projections, boolean $append = true )
$projections array
$append boolean

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

Sets the number of records to skip.
public skip ( $records )