Arango PHP ODM

StatementInterface

StatementInterface

Tags
author

Lucas S. Vieira

Table of Contents

Methods

__toString()  : string
Get the string representation of query
bindValue()  : bool
Binds a value to specified parameter name.
getBindVars()  : array<string|int, mixed>
Get the bind vars
getQuery()  : string
Returns the query string
hasAliases()  : bool
If the query has some alias (e.g: "@myparam" ) on it to receive a value after through binding
toAql()  : string
'Resolves' the query, returning the string after bind all params and values

Methods

__toString()

Get the string representation of query

public __toString() : string
Return values
string

bindValue()

Binds a value to specified parameter name.

public bindValue(string $parameter,  $value) : bool
Parameters
$parameter : string
$value :
Return values
bool

getBindVars()

Get the bind vars

public getBindVars() : array<string|int, mixed>
Return values
array<string|int, mixed>

getQuery()

Returns the query string

public getQuery() : string
Return values
string

hasAliases()

If the query has some alias (e.g: "@myparam" ) on it to receive a value after through binding

public hasAliases() : bool
Return values
bool

toAql()

'Resolves' the query, returning the string after bind all params and values

public toAql() : string
Return values
string

        
On this page

Search results