@Generated(value="This class was generated using jOOQ-tools") public interface MergeKeyStep2<R extends Record,T1,T2> extends MergeValuesStep2<R,T1,T2>
Merge
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.mergeInto(table, field1, field2)
.key(id)
.values(field1, field2)
.execute();
Modifier and Type | Method and Description |
---|---|
MergeValuesStep2<R,T1,T2> |
key(Collection<? extends Field<?>> keys)
Specify an optional
KEY clause. |
MergeValuesStep2<R,T1,T2> |
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}) MergeValuesStep2<R,T1,T2> 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}) MergeValuesStep2<R,T1,T2> 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.