Query
in package
FinalYes
The Query wraps the sql query, parameters and types.
Table of Contents
Properties
- $parameters : array<string|int, mixed>
- $statement : string
- $types : array<string|int, mixed>
Methods
- __construct() : mixed
- __toString() : string
- getParameters() : array<string|int, mixed>
- getStatement() : string
- getTypes() : array<string|int, mixed>
Properties
$parameters
private
array<string|int, mixed>
$parameters
$statement
private
string
$statement
$types
private
array<string|int, mixed>
$types
Methods
__construct()
public
__construct(string $statement[, array<string|int, mixed> $parameters = [] ][, array<string|int, mixed> $types = [] ]) : mixed
Parameters
- $statement : string
- $parameters : array<string|int, mixed> = []
- $types : array<string|int, mixed> = []
__toString()
public
__toString() : string
Return values
stringgetParameters()
public
getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>getStatement()
public
getStatement() : string
Return values
stringgetTypes()
public
getTypes() : array<string|int, mixed>