PHP Class Doctrine\OrientDB\Query\Command\Insert

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

Public Methods

Method Description
fields ( array $fields, boolean $append = true ) : Insert Sets the fields to insert within the query.
into ( string $target ) : Insert Sets the class in which the query will insert informations.
values ( array $values, boolean $append = true ) : Insert Sets the $values to insert.

Protected Methods

Method Description
getSchema ( )
getTokenFormatters ( ) : Array Returns the formatters for this query's tokens.

Method Details

fields() public method

Sets the fields to insert within the query.
public fields ( array $fields, boolean $append = true ) : Insert
$fields array
$append boolean
return Insert

getSchema() protected method

protected getSchema ( )

getTokenFormatters() protected method

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

into() public method

Sets the class in which the query will insert informations.
public into ( string $target ) : Insert
$target string
return Insert

values() public method

Sets the $values to insert.
public values ( array $values, boolean $append = true ) : Insert
$values array
$append boolean
return Insert