Menu

## StatementInterface
in

StatementInterface.php : 12

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()

StatementInterface.php : 19

Get the string representation of query

`public __toString() : string`

##### Return values

string

#### bindValue()

StatementInterface.php : 29

Binds a value to specified parameter name.

`public bindValue(string $parameter, $value) : bool`

##### Parameters

$parameter : string
$value :

##### Return values

bool

#### getBindVars()

StatementInterface.php : 51

Get the bind vars

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

##### Return values

array<string|int, mixed>

#### getQuery()

StatementInterface.php : 44

Returns the query string

`public getQuery() : string`

##### Return values

string

#### hasAliases()

StatementInterface.php : 37

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()

StatementInterface.php : 58

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

`public toAql() : string`

##### Return values

string

## Search results