Module org.jooq
Package org.jooq

Interface MergeKeyStep2<R extends Record,T1,T2>

All Superinterfaces:
MergeValuesStep2<R,T1,T2>

@Deprecated(forRemoval=true, since="3.14") public interface MergeKeyStep2<R extends Record,T1,T2> extends MergeValuesStep2<R,T1,T2>
Deprecated, for removal: This API element is subject to removal in a future version.
- [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via DSLContext.mergeInto(Table)
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(field1, field2)
       .execute();
 
Author:
Lukas Eder