Module org.jooq
Package org.jooq

Interface MergeValuesStepN<R extends Record>

All Known Subinterfaces:
MergeKeyStepN<R>, MergeUsingStep<R>

public interface MergeValuesStepN<R extends Record>
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();
 
Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Merge<R>
    select(Select<?> select)
    Use a SELECT statement as the source of values for the MERGE statement
    @NotNull Merge<R>
    values(Object... values)
    Specify a VALUES clause
    @NotNull Merge<R>
    values(Collection<?> values)
    Specify a VALUES clause
    @NotNull Merge<R>
    values(Field<?>... values)
    Specify a VALUES clause