Method |
Description |
|
cluster ( string $cluster, integer $limit = null, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Retrieves records from the given cluster in the database. |
|
command ( string $query, string $language = BindingInterface::LANGUAGE_SQLPLUS, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Executes a raw command on the given database. |
|
connect ( string $database ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Connects to the specified database. |
|
createDatabase ( string $database, string $storage = 'memory', string $type = 'document' ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Creates a new database. |
|
deleteClass ( string $class, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Deletes a class. |
|
deleteDatabase ( string $database ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Deletes an existing database. |
|
deleteDocument ( string $rid, string $version = null, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Deletes a document from the database. |
|
disconnect ( ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Disconnect this instance from the server. |
|
getAdapter ( ) : Doctrine\OrientDB\Binding\Adapter\HttpClientAdapterInterface |
Sets the underlying HTTP client adapter. |
|
getClass ( string $class, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Retrieves a class and its records. |
|
getDocument ( string $rid, string $database = null, string $fetchPlan = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Retrieves a record from the database. An optional fetch plan can be used to
specify how to retrieve the graph and limit its depth. |
|
getServer ( ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Gets the current server. |
|
listDatabases ( ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Lists all the existing databases. |
|
postClass ( string $class, string $body = null, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Creates a new class. |
|
postDocument ( string $document, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Stores a new document in the database. |
|
putDocument ( string $rid, string $document, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Updates an existing document in the database. |
|
query ( string $query, integer $limit = null, string $fetchPlan = null, string $language = BindingInterface::LANGUAGE_SQLPLUS, string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface |
Executes a raw query on the given database. |
|
setAdapter ( Doctrine\OrientDB\Binding\Adapter\HttpClientAdapterInterface $adapter ) |
Sets the underlying HTTP client adapter. |
|
setAuthentication ( string $username = null, string $password = null ) |
Sets the username and password used to authenticate to the server. |
|