Interface MergeKeyStepN<R extends Record>

All Superinterfaces:
MergeValuesStepN<R>
All Known Subinterfaces:
MergeColumnsStep<R>, MergeUsingStep<R>

@Deprecated(forRemoval=true, since="3.14") public interface MergeKeyStepN<R extends Record> extends MergeValuesStepN<R>
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(value1, value2)
      .execute();
  • Method Summary

    Modifier and Type
    Method
    Description
    key(Collection<? extends Field<?>> keys)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify an optional KEY clause.
    key(Field<?>... keys)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify an optional KEY clause.

    Methods inherited from interface MergeValuesStepN

    select, values, values, values