PHP 인터페이스 Doctrine\OrientDB\Query\Command\SelectInterface

파일 보기 프로젝트 열기: doctrine/orientdb-odm

공개 메소드들

메소드 설명
between ( string $key, string $left, string $right ) : Select Converts the "normal" select into an index one.
limit ( integet $limit ) : Select Sets the maximum amount of records retrieved whithin the current SELECT.
orderBy ( string $order, boolean $append, boolean $first ) : Select Sets an orderBy part of the SELECT.
select ( array $projections, boolean $append ) : Select Sets the fields to select within the query ($projections).
skip ( $records ) Sets the number of records to skip.

메소드 상세

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

limit() 공개 메소드

Sets the maximum amount of records retrieved whithin the current SELECT.
public limit ( integet $limit ) : Select
$limit integet
리턴 Select

orderBy() 공개 메소드

The $order should contain the property and the ASC/DESC parameter, in a single string: name DESC. With $append you can decide not to override previously-set orders. You can decide wheter to put the $order at $first place among the set orders.
public orderBy ( string $order, boolean $append, boolean $first ) : Select
$order string
$append boolean
$first boolean
리턴 Select

select() 공개 메소드

Values can be appended through the $append parameter.
public select ( array $projections, boolean $append ) : Select
$projections array
$append boolean
리턴 Select

skip() 공개 메소드

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