Top Description Methods
org.jooq

public Interface MergeKeyStepN<R extends org.jooq.Record>

extends MergeValuesStepN<R extends Record>
Known Direct Subinterfaces
org.jooq.MergeUsingStep
Static Imports
org.jooq.SQLDialect.CUBRID, .SQLDialect.FIREBIRD, .SQLDialect.H2, .SQLDialect.HSQLDB, .SQLDialect.POSTGRES, .SQLDialect.YUGABYTEDB

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

Example:


DSLContext create = DSL.using(configuration);

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

Method Summary

Modifier and TypeMethod and Description
public @NotNull MergeValuesStepN<R>
key(Field<?>... keys)

Deprecated as a consequence of Field being deprecated.
Specify an optional KEY clause.
public @NotNull MergeValuesStepN<R>
key(Collection<? extends Field<?>> keys)

Specify an optional KEY clause.

Inherited from org.jooq.MergeValuesStepN:
selectvaluesvaluesvalues

Method Detail

keyback to summary
public @NotNull MergeValuesStepN<R> key(Field<?>... keys)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Specify an optional KEY clause.

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

Annotations
@NotNull
@CheckReturnValue
@Support:CUBRID, FIREBIRD, H2, HSQLDB, POSTGRES, YUGABYTEDB
keyback to summary
public @NotNull MergeValuesStepN<R> key(Collection<? extends Field<?>> keys)

Specify an optional KEY clause.

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

Annotations
@NotNull
@CheckReturnValue
@Support:CUBRID, FIREBIRD, H2, HSQLDB, POSTGRES, YUGABYTEDB