PHP 클래스 Doctrine\OrientDB\Query\Command\Select

상속: extends Doctrine\OrientDB\Query\Command, implements Doctrine\OrientDB\Query\Command\SelectInterface
파일 보기 프로젝트 열기: doctrine/orientdb-odm 1 사용 예제들

공개 메소드들

메소드 설명
__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 )