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 array $_sqlStatements from AbstractSqlExecutor
protected QueryCacheProfile $queryCacheProfile from AbstractSqlExecutor

Methods

array
getSqlStatements()

Gets the SQL statements that are executed by the executor.

void
setQueryCacheProfile(QueryCacheProfile $qcp)

No description

void
removeQueryCacheProfile()

Do not use query cache

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

Executes all sql statements.

__construct(Node $AST, SqlWalker $sqlWalker)

No description

Details

array getSqlStatements()

Gets the SQL statements that are executed by the executor.

Return Value

array All the SQL update statements.

void setQueryCacheProfile(QueryCacheProfile $qcp)

Parameters

QueryCacheProfile $qcp

Return Value

void

void removeQueryCacheProfile()

Do not use query cache

Return Value

void

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 $sqlWalker)

Parameters

Node $AST
SqlWalker $sqlWalker