PHP Interface Doctrine\OrientDB\Binding\BindingInterface

Datei anzeigen Open project: doctrine/orientdb-odm Interface Usage Examples

Public Methods

Method Description
execute ( Query $query, string $fetchPlan = null ) : Doctrine\OrientDB\Binding\BindingResultInterface Executes an SQL query on the server.
getDatabase ( string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface Retrieves details regarding the specified database.
getDatabaseName ( ) : string Returns the name of the database the binding is currently using.

Method Details

execute() public method

The second argument specifies when to use COMMAND or QUERY as the underlying command.
public execute ( Query $query, string $fetchPlan = null ) : Doctrine\OrientDB\Binding\BindingResultInterface
$query Doctrine\OrientDB\Query\Query
$fetchPlan string Optional fetch plan for the query.
return Doctrine\OrientDB\Binding\BindingResultInterface

getDatabase() public method

Retrieves details regarding the specified database.
public getDatabase ( string $database = null ) : Doctrine\OrientDB\Binding\BindingResultInterface
$database string
return Doctrine\OrientDB\Binding\BindingResultInterface

getDatabaseName() public method

Returns the name of the database the binding is currently using.
public getDatabaseName ( ) : string
return string