Module org.jooq
Package org.jooq

Interface MergeKeyStep5<R extends Record,​T1,​T2,​T3,​T4,​T5>

  • All Superinterfaces:
    MergeValuesStep5<R,​T1,​T2,​T3,​T4,​T5>

    public interface MergeKeyStep5<R extends Record,​T1,​T2,​T3,​T4,​T5>
    extends MergeValuesStep5<R,​T1,​T2,​T3,​T4,​T5>
    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, field3, field4, field5)
           .key(id)
           .values(field1, field2, field3, field4, field5)
           .execute();
     
    Author:
    Lukas Eder