- 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 TypeMethodDescriptionUse aSELECTstatement as the source of values for theMERGEstatementSpecify aVALUESclausevalues(Collection<?> values) Specify aVALUESclauseSpecify aVALUESclause 
- 
Method Details
- 
values
@NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(Object... values) Specify aVALUESclause - 
values
@NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(Field<?>... values) Specify aVALUESclause - 
values
@NotNull @CheckReturnValue @Support({AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,DERBY,EXASOL,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Merge<R> values(Collection<?> values) Specify aVALUESclause - 
select
@NotNull @CheckReturnValue @Support({CUBRID,DB2,EXASOL,FIREBIRD_3_0,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES_15,SNOWFLAKE,SQLSERVER,SYBASE,TERADATA,VERTICA}) @NotNull Merge<R> select(Select<?> select) Use aSELECTstatement as the source of values for theMERGEstatementThis variant of the
MERGE … SELECTstatement expects a select returning exactly as many fields as specified previously in theINTOclause:DSLContext.mergeInto(Table, Field...)orDSLContext.mergeInto(Table, Collection) 
 -