Module org.jooq
Package org.jooq

Interface InsertValuesStep2<R extends Record,T1,T2>

All Superinterfaces:
Attachable, AttachableQueryPart, AutoCloseable, DMLQuery<R>, Flow.Publisher<Integer>, Insert<R>, InsertFinalStep<R>, InsertOnDuplicateStep<R>, InsertReturningStep<R>, Publisher<Integer>, org.reactivestreams.Publisher<Integer>, Query, QueryPart, RowCountQuery, Serializable, Statement

public interface InsertValuesStep2<R extends Record,T1,T2> extends InsertOnDuplicateStep<R>
This type is used for the Insert's DSL API.

Example:


 using(configuration)
       .insertInto(table, field1, field2)
       .values(field1, field2)
       .values(field1, field2)
       .onDuplicateKeyUpdate()
       .set(field1, value1)
       .set(field2, value2)
       .execute();
 
Author:
Lukas Eder