classPgSqlMergeStatement
final class PgSqlMergeStatement
Describes a parsed MERGE target, source, join condition, and branches.
Properties§
public string $targetTablepublic string $targetSqlpublic string $targetAliaspublic string $sourceSqlpublic string $joinConditionSqlpublic non-empty-list<PgSqlMergeClause> $clausesMethods§
public function __construct(
public string $targetTable,
public string $targetSql,
public string $targetAlias,
public string $sourceSql,
public string $joinConditionSql,
public non-empty-list<PgSqlMergeClause> $clauses,
)Parameters
$targetTable | string | |
$targetSql | string | |
$targetAlias | string | |
$sourceSql | string | |
$joinConditionSql | string | |
$clauses | non-empty-list<PgSqlMergeClause> |
Test cases 11§
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 10
PgSqlSessionFactoryTestcallsPgSqlRewriterTestcallsStatementRewriterTestcallsMatchConditionsTestcallsRowActionsTestcallsMergeTransformerTestcallsPgSqlTransformerTestcallsRowMutationResolverTestcallsPgSqlMutationResolverTestcallsPgSqlMergeParserTestcalls
Relations§
Instantiated in 1
Type declarations 6
- type ZtdQuery\Platform\Postgres\Rewrite\Transformer\Merge\MatchConditions packages/ztd-query-postgres/src/Rewrite/Transformer/Merge/MatchConditions.php:20
- type ZtdQuery\Platform\Postgres\Rewrite\Transformer\Merge\RowActions packages/ztd-query-postgres/src/Rewrite/Transformer/Merge/RowActions.php:43
- type ZtdQuery\Platform\Postgres\Rewrite\Transformer\Merge\RowActions packages/ztd-query-postgres/src/Rewrite/Transformer/Merge/RowActions.php:81
- type ZtdQuery\Platform\Postgres\Rewrite\Transformer\Merge\RowActions packages/ztd-query-postgres/src/Rewrite/Transformer/Merge/RowActions.php:123
- type ZtdQuery\Platform\Postgres\Rewrite\Transformer\Merge\RowActions packages/ztd-query-postgres/src/Rewrite/Transformer/Merge/RowActions.php:181
- type ZtdQuery\Platform\Postgres\Sql\Merge\PgSqlMergeParser packages/ztd-query-postgres/src/Sql/Merge/PgSqlMergeParser.php:31