StatementInterface
in
StatementInterface
Tags
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
stringbindValue()
Binds a value to specified parameter name.
public
bindValue(string $parameter, $value) : bool
Parameters
Return values
boolgetBindVars()
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
stringhasAliases()
If the query has some alias (e.g: "@myparam" ) on it to receive a value after through binding
public
hasAliases() : bool
Return values
booltoAql()
'Resolves' the query, returning the string after bind all params and values
public
toAql() : string