PHP Class Doctrine\OrientDB\Query\Command\Index\Create

Inheritance: extends Doctrine\OrientDB\Query\Command\Index
Datei anzeigen Open project: doctrine/orientdb-odm

Public Methods

Method Description
__construct ( string $property, string $type, string $class = null ) Sets the $property to index.
type ( string $type ) : Create Sets the type of the index to create.

Protected Methods

Method Description
getSchema ( )

Method Details

__construct() public method

Optionally, you can specify the property $class and the $type of the index.
public __construct ( string $property, string $type, string $class = null )
$property string
$type string
$class string

getSchema() protected method

protected getSchema ( )

type() public method

Sets the type of the index to create.
public type ( string $type ) : Create
$type string
return Create