Commit 98076e0b authored by romanb's avatar romanb

[2.0] Parser work. Drafted logic for multi-table deletes through DQL (for...

[2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance)
parent d833ee14
...@@ -43,8 +43,8 @@ class MultiTableDeleteExecutor extends AbstractExecutor ...@@ -43,8 +43,8 @@ class MultiTableDeleteExecutor extends AbstractExecutor
*/ */
public function __construct(\Doctrine\ORM\Query\AST $AST) public function __construct(\Doctrine\ORM\Query\AST $AST)
{ {
// 1. Create a INSERT ... SELECT statement where the SELECT statement // 1. Create a INSERT INTO temptable ... VALUES ( SELECT statement where the SELECT statement
// selects the identifiers from the temporary ID table and uses the WhereClause of the $AST. // selects the identifiers and uses the WhereClause of the $AST.
// 2. Create ID subselect statement used in DELETE .... WHERE ... IN (subselect) // 2. Create ID subselect statement used in DELETE .... WHERE ... IN (subselect)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment