Statement implements ConstraintInterface

A statement acting as a constraint.

Internal

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
Constructs the Statement instance
collectBoundVariableNames()  : mixed
Fills an array with the names of all bound variables in the constraints
getBoundVariables()  : array<string|int, mixed>
Gets the bound variables
getStatement()  : string|Statement|QueryBuilder
Gets the statement.

Properties

$boundVariables

protected array<string|int, mixed> $boundVariables = []

Methods

__construct()

Constructs the Statement instance

public __construct(string|Statement|QueryBuilder $statement[, array<string|int, mixed> $boundVariables = [] ]) : mixed
Parameters
$statement : string|Statement|QueryBuilder

The statement as sql string or an instance of \Doctrine\DBAL\Statement or \TYPO3\CMS\Core\Database\Query\QueryBuilder

$boundVariables : array<string|int, mixed> = []

An array of variables to bind to the statement, only to be used with prepared statements

collectBoundVariableNames()

Fills an array with the names of all bound variables in the constraints

public collectBoundVariableNames(array<string|int, mixed> &$boundVariables) : mixed
Parameters
$boundVariables : array<string|int, mixed>

getBoundVariables()

Gets the bound variables

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

$boundVariables


        
On this page

Search results