Module org.jooq
Package org.jooq

Interface MergeKeyStep2<R extends Record,​T1,​T2>

  • All Superinterfaces:
    MergeValuesStep2<R,​T1,​T2>

    public interface MergeKeyStep2<R extends Record,​T1,​T2>
    extends MergeValuesStep2<R,​T1,​T2>
    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