interfaceWithClause
interface WithClause
extends Node
A WITH clause: common table expressions and the RECURSIVE marker.
The query family provides the structure; UPDATE and DELETE statements hold it. Source: https://dev.mysql.com/doc/refman/8.4/en/with.html.
Methods§
public function bind(Derivation $derivation, Environment $outer): EnvironmentDerives the common table expressions and answers the environment in which the statement that holds the clause sees them.
Parameters
$derivation | Derivation | |
$outer | Environment |
Returns
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Type declarations 6
- type SqlSemantics\Platform\MySql\Lowering\Query\QueryRules packages/sql-semantics-mysql/src/Lowering/Query/QueryRules.php:249
- type SqlSemantics\Platform\MySql\Rules\Dml\ChangeFacts packages/sql-semantics-mysql/src/Rules/Dml/ChangeFacts.php:128
- type SqlSemantics\Platform\MySql\Statement\Dml\Delete packages/sql-semantics-mysql/src/Statement/Dml/Delete.php:52
- type SqlSemantics\Platform\MySql\Statement\Dml\MultipleDelete packages/sql-semantics-mysql/src/Statement/Dml/MultipleDelete.php:61
- type SqlSemantics\Platform\MySql\Statement\Dml\Update packages/sql-semantics-mysql/src/Statement/Dml/Update.php:64
- type SqlSemantics\Platform\MySql\Statement\Query\QueryExpression packages/sql-semantics-mysql/src/Statement/Query/QueryExpression.php:60