enumMultipleDeleteForm
enum MultipleDeleteForm
Public API: explicitly declared with
@visibility public.The two spellings of a multiple-table DELETE: the tables to delete from before FROM, or after FROM with the references after USING.
Both request the same deletion; the spelling is kept so the statement is written back as it was given. Source: https://dev.mysql.com/doc/refman/8.4/en/delete.html.
$delete = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('DELETE FROM t USING t JOIN u ON t.a = u.a');
$delete->statement->form // => \SqlSemantics\Platform\MySql\Statement\Dml\MultipleDeleteForm::UsingCases§
case BeforeFromcase UsingTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 1
Relations§
Constant reads 8
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\ChangeRule packages/sql-semantics-mysql/src/Lowering/Dml/ChangeRule.php:62
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\ChangeRule packages/sql-semantics-mysql/src/Lowering/Dml/ChangeRule.php:63
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\ChangeRule packages/sql-semantics-mysql/src/Lowering/Dml/ChangeRule.php:64
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\ChangeRule packages/sql-semantics-mysql/src/Lowering/Dml/ChangeRule.php:65
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\ChangeRule::legacyDelete() packages/sql-semantics-mysql/src/Lowering/Dml/ChangeRule.php:152
- class-const SqlSemantics\Platform\MySql\Lowering\Dml\ChangeRule::legacyDelete() packages/sql-semantics-mysql/src/Lowering/Dml/ChangeRule.php:153
- class-const SqlSemantics\Platform\MySql\Statement\Dml\MultipleDelete::render() packages/sql-semantics-mysql/src/Statement/Dml/MultipleDelete.php:93
- class-const SqlSemantics\Platform\MySql\Statement\Dml\MultipleDelete::render() packages/sql-semantics-mysql/src/Statement/Dml/MultipleDelete.php:105