-
- All Superinterfaces:
MergeValuesStep5<R,T1,T2,T3,T4,T5>
public interface MergeKeyStep5<R extends Record,T1,T2,T3,T4,T5> extends MergeValuesStep5<R,T1,T2,T3,T4,T5>
This type is used for the H2-specific variant of theMerge
's DSL API.Example:
DSLContext create = DSL.using(configuration); create.mergeInto(table, field1, field2, field3, field4, field5) .key(id) .values(field1, field2, field3, field4, field5) .execute();
- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MergeValuesStep5<R,T1,T2,T3,T4,T5>
key(java.util.Collection<? extends Field<?>> keys)
Specify an optionalKEY
clause.MergeValuesStep5<R,T1,T2,T3,T4,T5>
key(Field<?>... keys)
Specify an optionalKEY
clause.-
Methods inherited from interface org.jooq.MergeValuesStep5
select, values, values, values
-
-
-
-
Method Detail
-
key
@Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) MergeValuesStep5<R,T1,T2,T3,T4,T5> key(Field<?>... keys)
Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
.
-
key
@Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA,VERTICA}) MergeValuesStep5<R,T1,T2,T3,T4,T5> key(java.util.Collection<? extends Field<?>> keys)
Specify an optionalKEY
clause.Use this optional clause in order to override using the underlying
PRIMARY KEY
.
-
-