class SingleTableDeleteUpdateExecutor extends AbstractSqlExecutor (View source)

Executor that executes the SQL statements for DQL DELETE/UPDATE statements on classes that are mapped to a single table.

Properties

protected string[] $sqlStatements from AbstractSqlExecutor
protected QueryCacheProfile $queryCacheProfile from AbstractSqlExecutor

Methods

string[]
getSqlStatements()

Gets the SQL statements that are executed by the executor.

setQueryCacheProfile(QueryCacheProfile $qcp)

No description

removeQueryCacheProfile()

Do not use query cache

Statement
execute(Connection $conn, array $params, array $types)

Executes all sql statements.

__construct(Node $AST, $sqlWalker)

No description

Details

string[] getSqlStatements()

Gets the SQL statements that are executed by the executor.

Return Value

string[] All the SQL update statements.

setQueryCacheProfile(QueryCacheProfile $qcp)

Parameters

QueryCacheProfile $qcp

removeQueryCacheProfile()

Do not use query cache

Statement execute(Connection $conn, array $params, array $types)

Executes all sql statements.

Parameters

Connection $conn The database connection that is used to execute the queries.
array $params The parameters.
array $types The parameter types.

Return Value

Statement

__construct(Node $AST, $sqlWalker)

Parameters

Node $AST
$sqlWalker