@Generated(value="This class was generated using jOOQ-tools") public interface MergeNotMatchedValuesStep2<R extends Record,T1,T2>
Merge
's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.mergeInto(table)
.using(select)
.on(condition)
.whenMatchedThenUpdate()
.set(field1, value1)
.set(field2, value2)
.whenNotMatchedThenInsert(field1, field2)
.values(value1, value2)
.execute();
Modifier and Type | Method and Description |
---|---|
MergeNotMatchedWhereStep<R> |
values(Collection<?> values)
Set
VALUES for INSERT in the MERGE
statement's WHEN NOT MATCHED THEN INSERT clause. |
MergeNotMatchedWhereStep<R> |
values(Field<T1> value1,
Field<T2> value2)
Set
VALUES for INSERT in the MERGE
statement's WHEN NOT MATCHED THEN INSERT clause. |
MergeNotMatchedWhereStep<R> |
values(T1 value1,
T2 value2)
Set
VALUES for INSERT in the MERGE
statement's WHEN NOT MATCHED THEN INSERT clause. |
@Support(value={CUBRID,DB2,FIREBIRD_3_0,HSQLDB,ORACLE,SQLSERVER,SYBASE}) MergeNotMatchedWhereStep<R> values(T1 value1, T2 value2)
VALUES
for INSERT
in the MERGE
statement's WHEN NOT MATCHED THEN INSERT
clause.@Support(value={CUBRID,DB2,FIREBIRD_3_0,HSQLDB,ORACLE,SQLSERVER,SYBASE}) MergeNotMatchedWhereStep<R> values(Field<T1> value1, Field<T2> value2)
VALUES
for INSERT
in the MERGE
statement's WHEN NOT MATCHED THEN INSERT
clause.@Support(value={CUBRID,DB2,FIREBIRD_3_0,HSQLDB,ORACLE,SQLSERVER,SYBASE}) MergeNotMatchedWhereStep<R> values(Collection<?> values)
VALUES
for INSERT
in the MERGE
statement's WHEN NOT MATCHED THEN INSERT
clause.Copyright © 2019. All rights reserved.