@Generated(value="This class was generated using jOOQ-tools") public interface MergeValuesStep3<R extends Record,T1,T2,T3>
Merge
's DSL API.
Example:
using(configuration)
.mergeInto(table, field1, field2, field3)
.key(id)
.values(field1, field2, field3)
.execute();
Modifier and Type | Method and Description |
---|---|
Merge<R> |
select(Select<? extends Record3<T1,T2,T3>> select)
Use a
SELECT statement as the source of values for the
MERGE statement
This variant of the MERGE .. |
Merge<R> |
values(Collection<?> values)
Specify a
VALUES clause |
Merge<R> |
values(Field<T1> value1,
Field<T2> value2,
Field<T3> value3)
Specify a
VALUES clause |
Merge<R> |
values(T1 value1,
T2 value2,
T3 value3)
Specify a
VALUES clause |
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) Merge<R> values(T1 value1, T2 value2, T3 value3)
VALUES
clause@Support(value={AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) Merge<R> values(Field<T1> value1, Field<T2> value2, Field<T3> value3)
VALUES
clause@Support(value={AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE}) Merge<R> values(Collection<?> values)
VALUES
clause@Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,SQLSERVER,SYBASE}) Merge<R> select(Select<? extends Record3<T1,T2,T3>> select)
SELECT
statement as the source of values for the
MERGE
statement
This variant of the MERGE .. SELECT
statement expects a
select returning exactly as many fields as specified previously in the
INTO
clause:
DSLContext.mergeInto(Table, Field, Field, Field)
Copyright © 2019. All rights reserved.