PHP Class Doctrine\OrientDB\Query\Command\Reference\Find

Inheritance: extends Doctrine\OrientDB\Query\Command, implements Doctrine\OrientDB\Query\Command\Reference\FindInterface
Show file Open project: doctrine/orientdb-odm

Public Methods

Method Description
__construct ( string $rid ) Creates a new object, setting the $rid to lookup.
in ( array $classes, boolean $append = true ) : Find Restricts the classes to look into to find the record.

Protected Methods

Method Description
getSchema ( )
getTokenFormatters ( ) : array Returns the formatters for this query's tokens
setRid ( string $rid ) Sets the $rid to look for.

Method Details

__construct() public method

Creates a new object, setting the $rid to lookup.
public __construct ( string $rid )
$rid string

getSchema() protected method

protected getSchema ( )

getTokenFormatters() protected method

Returns the formatters for this query's tokens
protected getTokenFormatters ( ) : array
return array

in() public method

Restricts the classes to look into to find the record.
public in ( array $classes, boolean $append = true ) : Find
$classes array
$append boolean
return Find

setRid() protected method

Sets the $rid to look for.
protected setRid ( string $rid )
$rid string