class MultiTableDeleteExecutor extends AbstractSqlExecutor (View source)

Executes the SQL statements for bulk DQL DELETE statements on classes in Class Table Inheritance (JOINED).

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

Initializes a new MultiTableDeleteExecutor.

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

Initializes a new MultiTableDeleteExecutor.

{@internal Any SQL construction and preparation takes place in the constructor for best performance. With a query cache the executor will be cached. }}

Parameters

Node $AST The root AST node of the DQL query.
SqlWalker $sqlWalker The walker used for SQL generation from the AST.