classIdentifierReferences
final class IdentifierReferences
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Identifier references operations for PostgreSQL cte.
Methods§
public function referencesIdentifier(string $sql, string $identifier): boolReferences identifier.
Parameters
$sql | string | |
$identifier | string |
Returns
boolTest cases 1
Called from 2
- method-call ZtdQuery\Platform\Postgres\Rewrite\Cte\ShadowDependencies::required() packages/ztd-query-postgres/src/Rewrite/Cte/ShadowDependencies.php:34
- method-call ZtdQuery\Platform\Postgres\Sql\Cte\IdentifierReferences::referencesAnyIdentifier() packages/ztd-query-postgres/src/Sql/Cte/IdentifierReferences.php:38
Calls 5
- static-call SqlTokenStream::tokenize() line 22
- static-call PgSqlLexerProfile::create() line 22
- method-call HeaderParser::identifierName() line 23
- new HeaderParser line 23
- function-call
strcasecmpline 24
public function referencesAnyIdentifier(string $sql, list<string> $identifiers): boolParameters
$sql | string | |
$identifiers | list<string> |
Returns
boolTest cases 1
Called from 1
Calls 1
- method-call IdentifierReferences::referencesIdentifier() line 38
Test cases 20§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 18
PgSqlSessionFactoryTestcallsPgSqlCteShadowComposerTestcallsShadowDependenciesTestcallsPgSqlRewriterTestcallsStatementRewriterTestcallsDeleteTransformerTestcallsSelectProjectionTestcallsInsertSelectRendererTestcallsInsertTransformerTestcallsMatchConditionsTestcallsRowActionsTestcallsMergeTransformerTestcallsPgSqlTransformerTestcallsSelectTransformerTestcallsUpdateTransformerTestcallsRowMutationResolverTestcallsPgSqlMutationResolverTestcallsPgSqlMergeParserTestcalls
Relations§
Instantiated in 2
Method calls 2
- method-call ZtdQuery\Platform\Postgres\Rewrite\Cte\PgSqlCteShadowComposer::carryPrefix() packages/ztd-query-postgres/src/Rewrite/Cte/PgSqlCteShadowComposer.php:91
- method-call ZtdQuery\Platform\Postgres\Rewrite\Cte\ShadowDependencies::required() packages/ztd-query-postgres/src/Rewrite/Cte/ShadowDependencies.php:34