-
public interface MergeNotMatchedValuesStep3<R extends Record,T1,T2,T3>
This type is used for theMerge
'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();
- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MergeNotMatchedWhereStep<R>
values(Collection<?> values)
SetVALUES
forINSERT
in theMERGE
statement'sWHEN NOT MATCHED THEN INSERT
clause.MergeNotMatchedWhereStep<R>
values(Field<T1> value1, Field<T2> value2, Field<T3> value3)
SetVALUES
forINSERT
in theMERGE
statement'sWHEN NOT MATCHED THEN INSERT
clause.MergeNotMatchedWhereStep<R>
values(T1 value1, T2 value2, T3 value3)
SetVALUES
forINSERT
in theMERGE
statement'sWHEN NOT MATCHED THEN INSERT
clause.
-
-
-
Method Detail
-
values
@Support({CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HSQLDB,ORACLE,SQLSERVER,SYBASE,TERADATA,VERTICA}) MergeNotMatchedWhereStep<R> values(T1 value1, T2 value2, T3 value3)
SetVALUES
forINSERT
in theMERGE
statement'sWHEN NOT MATCHED THEN INSERT
clause.
-
values
@Support({CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HSQLDB,ORACLE,SQLSERVER,SYBASE,TERADATA,VERTICA}) MergeNotMatchedWhereStep<R> values(Field<T1> value1, Field<T2> value2, Field<T3> value3)
SetVALUES
forINSERT
in theMERGE
statement'sWHEN NOT MATCHED THEN INSERT
clause.
-
values
@Support({CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HSQLDB,ORACLE,SQLSERVER,SYBASE,TERADATA,VERTICA}) MergeNotMatchedWhereStep<R> values(Collection<?> values)
SetVALUES
forINSERT
in theMERGE
statement'sWHEN NOT MATCHED THEN INSERT
clause.
-
-