org.jooq
Interface MergeKeyStep<R extends Record>

All Superinterfaces:
MergeValuesStep<R>
All Known Subinterfaces:
MergeUsingStep<R>

public interface MergeKeyStep<R extends Record>
extends MergeValuesStep<R>

This type is used for the H2-specific variant of the Merge's DSL API.

Example:

 Factory create = new Factory();

 create.mergeInto(table, field1, field2)
       .key(id)
       .values(value1, value2)
       .execute();
 

Author:
Lukas Eder

Method Summary
 MergeValuesStep<R> key(Collection<? extends Field<?>> keys)
          Specify an optional KEY clause.
 MergeValuesStep<R> key(Field<?>... keys)
          Specify an optional KEY clause.
 
Methods inherited from interface org.jooq.MergeValuesStep
select, values, values, values
 

Method Detail

key

MergeValuesStep<R> key(Field<?>... keys)
Specify an optional KEY clause.

Use this optional clause in order to override using the underlying PRIMARY KEY.


key

MergeValuesStep<R> key(Collection<? extends Field<?>> keys)
Specify an optional KEY clause.

Use this optional clause in order to override using the underlying PRIMARY KEY.



Copyright © 2012. All Rights Reserved.