PHP Interface Doctrine\OrientDB\Query\Command\InsertInterface

Datei anzeigen Open project: doctrine/orientdb-odm

Public Methods

Method Description
fields ( array $fields, boolean $append = true ) : Insert Sets the $fields that are going to be inserted.
into ( string $target ) : Insert Sets the $target cluster in which the new document will be created.
values ( array $values, boolean $append = true ) : Insert Sets the $values to be inserted in the document created with the INSERT statement.

Method Details

fields() public method

The $append parameter is used in order to preserve/discard already-set fields.
public fields ( array $fields, boolean $append = true ) : Insert
$fields array
$append boolean
return Insert

into() public method

Sets the $target cluster in which the new document will be created.
public into ( string $target ) : Insert
$target string
return Insert

values() public method

The $append parameter is used in order to preserve/discard already-set fields.
public values ( array $values, boolean $append = true ) : Insert
$values array
$append boolean
return Insert