interface BindingInterface (View source)

Constants

LANGUAGE_SQLPLUS

LANGUAGE_GREMLIN

Methods

execute(Query $query, $fetchPlan = null)

Executes an SQL query on the server.

string
getDatabaseName()

Returns the name of the database the binding is currently using.

getDatabase(string $database = null)

Retrieves details regarding the specified database.

Details

BindingResultInterface execute(Query $query, $fetchPlan = null)

Executes an SQL query on the server.

The second argument specifies when to use COMMAND or QUERY as the underlying command.

Parameters

Query $query
$fetchPlan

Return Value

BindingResultInterface

string getDatabaseName()

Returns the name of the database the binding is currently using.

Return Value

string

BindingResultInterface getDatabase(string $database = null)

Retrieves details regarding the specified database.

Parameters

string $database

Return Value

BindingResultInterface