PHP Interface Doctrine\OrientDB\Binding\BindingInterface

Afficher le fichier Open project: doctrine/orientdb-odm Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat Doctrine\OrientDB\Binding\BindingResultInterface

getDatabase() public méthode

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

getDatabaseName() public méthode

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