Statement implements ConstraintInterface
Read onlyYes
FinalYes
A statement acting as a constraint.
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Interfaces
- ConstraintInterface
- Filters the set of tuples formed by evaluating the query's sources and the joins between them.
Properties
- $boundVariables : array<string|int, mixed>
- $statement : string|Statement|QueryBuilder
Methods
- __construct() : mixed
- collectBoundVariableNames() : mixed
- getBoundVariables() : array<string|int, mixed>
- getStatement() : string|Statement|QueryBuilder
Properties
$boundVariables
protected
array<string|int, mixed>
$boundVariables
= []
$statement
protected
string|Statement|QueryBuilder
$statement
Methods
__construct()
public
__construct(string|Statement|QueryBuilder $statement[, array<string|int, mixed> $boundVariables = [] ]) : mixed
Parameters
- $statement : string|Statement|QueryBuilder
- $boundVariables : array<string|int, mixed> = []
-
An array of variables to bind to the statement, only to be used with prepared statements
collectBoundVariableNames()
public
collectBoundVariableNames(array<string|int, mixed> &$boundVariables) : mixed
Parameters
- $boundVariables : array<string|int, mixed>
getBoundVariables()
public
getBoundVariables() : array<string|int, mixed>
Return values
array<string|int, mixed>getStatement()
public
getStatement() : string|Statement|QueryBuilder