classModelQueries
final class ModelQueries
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Derives extension-requested expressions and keeps their evidence on compiled statements.
Methods§
public function solve(
CallLike $call,
?QueryModelInterface $model,
Deriver $deriver,
): list<Solution>Parameters
$call | CallLike | |
$model | ?QueryModelInterface | |
$deriver | Deriver |
Returns
list<Solution> SQL and bindings with the ordinary derivation provenance.Test cases 4
ModelQueriesTest::testSolveKeepsCompilerFlagsAndMultipleOutputscallsModelQueriesTest::testSolveRetainsMissingModelsAsIncompleteStatementscallsQueryModelInterfaceTest::testInputsCanBeProvidedOutsideTheBuiltinscallsBuilderQueriesTest::testStatementsCompilesReceiverAndBindingsDerivedFromTheSameBranchcalls
Called from 1
Calls 6
- new Solution line 28
- static-call Domain::opaque() line 28
- static-call TypeShape::of() line 28
- class-const Origin::Call() line 28
- static-call Domain::unknown() line 28
- method-call Deriver::solve() line 31
Test cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.