@Generated(value="This class was generated using jOOQ-tools") public interface MergeValuesStep1<R extends Record,T1>
Merge
's DSL API.
Example:
using(configuration)
.mergeInto(table, field1)
.key(id)
.values(field1)
.execute();
Modifier and Type | Method and Description |
---|---|
Merge<R> |
select(Select<? extends Record1<T1>> 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)
Specify a
VALUES clause |
Merge<R> |
values(T1 value1)
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,TERADATA}) Merge<R> values(T1 value1)
VALUES
clause@Support(value={AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) Merge<R> values(Field<T1> value1)
VALUES
clause@Support(value={AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES_9_5,SQLSERVER,SYBASE,TERADATA}) Merge<R> values(Collection<?> values)
VALUES
clause@Support(value={CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,ORACLE,SQLSERVER,SYBASE,TERADATA}) Merge<R> select(Select<? extends Record1<T1>> 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)
Copyright © 2019. All rights reserved.