classPgSqlMergeClause
final class PgSqlMergeClause
Describes one MERGE branch, its predicate, and its row action.
Properties§
public PgSqlMergeMatchKind $matchKindpublic ?string $conditionSqlpublic PgSqlMergeActionKind $actionKindpublic array<string, string> $assignments = []public list<string> $insertColumns = []public list<string> $insertValues = []Methods§
public function __construct(
public PgSqlMergeMatchKind $matchKind,
public ?string $conditionSql,
public PgSqlMergeActionKind $actionKind,
public array<string, string> $assignments = [],
public list<string> $insertColumns = [],
public list<string> $insertValues = [],
)Parameters
$matchKind | PgSqlMergeMatchKind | |
$conditionSql | ?string | |
$actionKind | PgSqlMergeActionKind | |
$assignments | array<string, string> | |
$insertColumns | list<string> | |
$insertValues | list<string> |
Test cases 14§
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 13
PgSqlSessionFactoryTestcallsPgSqlRewriterTestcallsStatementRewriterTestcallsMatchConditionsTestcallsRowActionsTestcallsMergeTransformerTestcallsPgSqlTransformerTestcallsRowMutationResolverTestcallsPgSqlMutationResolverTestcallsActionClauseTest::testParseClausecallsPgSqlMergeParserTestcallsPgSqlMergeStatementTest::testCarriesTypedStatementDatacallsStatementPartsTestcalls
Relations§
Instantiated in 4
- new ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause::action() packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:216
- new ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause::action() packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:221
- new ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause::action() packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:224
- new ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause::action() packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:234
Type declarations 4
- type ZtdQuery\Platform\Postgres\Rewrite\Transformer\Merge\RowActions packages/ztd-query-postgres/src/Rewrite/Transformer/Merge/RowActions.php:82
- type ZtdQuery\Platform\Postgres\Rewrite\Transformer\Merge\RowActions packages/ztd-query-postgres/src/Rewrite/Transformer/Merge/RowActions.php:124
- type ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:23
- type ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:205