classCommonBinding
final class CommonBinding
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
A common table expression visible at a position: its name, definition and output shape.
Properties§
public Name $namepublic Node $definitionpublic RowShape $shapeMethods§
Test cases 7§
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 6
DerivationTest::testTableResolvesTheNearestCommonTableBeforeTheContextcallsEnvironmentTest::testCommonTableComparesNamesAsTheContextSayscallsEnvironmentTest::testCommonTableFindsTheNearestBindingWithLaterOnesShadowingEarlierOnescallsCompoundFactsTest::testReboundGivesTheRecursiveReferenceTheNamesOfTheColumnListAndAnyStorageClasscallsCompoundFactsTest::testReboundNamesTheColumnsAfterTheFirstArmWithoutAColumnListcallsTableShapesTest::testFactCopiesTheShapeOfACommonTableAndLinksItsSlotscalls
Relations§
Instantiated in 3
- new SqlSemantics\Platform\Sqlite\Rules\Query\CommonTables::bind() packages/sql-semantics-sqlite/src/Rules/Query/CommonTables.php:88
- new SqlSemantics\Platform\Sqlite\Rules\Query\CommonTables::bind() packages/sql-semantics-sqlite/src/Rules/Query/CommonTables.php:89
- new SqlSemantics\Platform\Sqlite\Rules\Query\CompoundFacts::rebound() packages/sql-semantics-sqlite/src/Rules/Query/CompoundFacts.php:185