public interface MergeKeyStepN<R extends Record> extends MergeValuesStepN<R>
Merge
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.mergeInto(table, field1, field2)
.key(id)
.values(value1, value2)
.execute();
Modifier and Type | Method and Description |
---|---|
MergeValuesStepN<R> |
key(Collection<? extends Field<?>> keys)
Specify an optional
KEY clause. |
MergeValuesStepN<R> |
key(Field<?>... keys)
Specify an optional
KEY clause. |
select, values, values, values
@Support(value={AURORA_POSTGRES,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) MergeValuesStepN<R> key(Field<?>... keys)
KEY
clause.
Use this optional clause in order to override using the underlying
PRIMARY KEY
.
@Support(value={AURORA_POSTGRES,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) MergeValuesStepN<R> key(Collection<? extends Field<?>> keys)
KEY
clause.
Use this optional clause in order to override using the underlying
PRIMARY KEY
.
Copyright © 2019. All rights reserved.