org.jooq
Interface MergeNotMatchedValuesStep<R extends Record>


public interface MergeNotMatchedValuesStep<R extends Record>

This type is used for the Merge's DSL API.

Example:

 Factory create = new Factory();

 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
 MergeNotMatchedWhereStep<R> values(Collection<?> values)
          Set VALUES for INSERT in the MERGE statement's WHEN NOT MATCHED THEN INSERT clause.
 MergeNotMatchedWhereStep<R> values(Field<?>... values)
          Set VALUES for INSERT in the MERGE statement's WHEN NOT MATCHED THEN INSERT clause.
 MergeNotMatchedWhereStep<R> values(Object... values)
          Set VALUES for INSERT in the MERGE statement's WHEN NOT MATCHED THEN INSERT clause.
 

Method Detail

values

MergeNotMatchedWhereStep<R> values(Object... values)
Set VALUES for INSERT in the MERGE statement's WHEN NOT MATCHED THEN INSERT clause.


values

MergeNotMatchedWhereStep<R> values(Field<?>... values)
Set VALUES for INSERT in the MERGE statement's WHEN NOT MATCHED THEN INSERT clause.


values

MergeNotMatchedWhereStep<R> values(Collection<?> values)
Set VALUES for INSERT in the MERGE statement's WHEN NOT MATCHED THEN INSERT clause.



Copyright © 2012. All Rights Reserved.