- All Superinterfaces:
MergeValuesStepN<R>
- All Known Subinterfaces:
MergeUsingStep<R>
This type is used for the H2-specific variant of the
Merge
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.mergeInto(table, field1, field2)
.key(id)
.values(value1, value2)
.execute();
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull MergeValuesStepN<R>
key
(Collection<? extends Field<?>> keys) Specify an optionalKEY
clause.@NotNull MergeValuesStepN<R>
Specify an optionalKEY
clause.Methods inherited from interface org.jooq.MergeValuesStepN
select, values, values, values
-
Method Details
-
key
@NotNull @CheckReturnValue @Support({AURORA_POSTGRES,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull MergeValuesStepN<R> key(Field<?>... keys) Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
. -
key
@NotNull @CheckReturnValue @Support({AURORA_POSTGRES,CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,ORACLE,POSTGRES_9_5,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull MergeValuesStepN<R> key(Collection<? extends Field<?>> keys) Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
.
-