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={CUBRID,DB2,FIREBIRD_3_0,H2,HSQLDB,ORACLE,SQLSERVER,SYBASE}) MergeValuesStepN<R> key(Field<?>... keys)
KEY
clause.
Use this optional clause in order to override using the underlying
PRIMARY KEY
.
@Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HSQLDB,ORACLE,SQLSERVER,SYBASE}) MergeValuesStepN<R> key(Collection<? extends Field<?>> keys)
KEY
clause.
Use this optional clause in order to override using the underlying
PRIMARY KEY
.
Copyright © 2016. All Rights Reserved.