class MultiTableDeleteExecutor extends AbstractSqlExecutor (View source)

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

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

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

Executes all sql statements.

__construct(Node $AST, SqlWalker $sqlWalker)

Initializes a new MultiTableDeleteExecutor.

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

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 note: 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.