mediatekformation

MultiTableDeleteExecutor extends AbstractSqlExecutor
in package

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

Tags
link
http://www.doctrine-project.org

Table of Contents

$_sqlStatements  : array<string|int, mixed>|string
$queryCacheProfile  : QueryCacheProfile
$_createTempTableSql  : string
$_dropTempTableSql  : string
$_insertSql  : string
__construct()  : mixed
Initializes a new <tt>MultiTableDeleteExecutor</tt>.
execute()  : int
Executes all sql statements.
getSqlStatements()  : array<string|int, mixed>|string
Gets the SQL statements that are executed by the executor.
removeQueryCacheProfile()  : void
Do not use query cache
setQueryCacheProfile()  : void

Properties

Methods

__construct()

Initializes a new <tt>MultiTableDeleteExecutor</tt>.

public __construct(DeleteStatement $AST, SqlWalker $sqlWalker) : mixed

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
$AST : DeleteStatement

The root AST node of the DQL query.

$sqlWalker : SqlWalker

The walker used for SQL generation from the AST.

Return values
mixed

execute()

Executes all sql statements.

public execute(Connection $conn, array<string|int, mixed> $params, array<string|int, mixed> $types) : int
Parameters
$conn : Connection

The database connection that is used to execute the queries.

$params : array<string|int, mixed>
$types : array<string|int, mixed>
Return values
int

getSqlStatements()

Gets the SQL statements that are executed by the executor.

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

All the SQL update statements.

removeQueryCacheProfile()

Do not use query cache

public removeQueryCacheProfile() : void
Return values
void

Search results