Package org.jooq

Interface InsertValuesStep4<R extends Record,​T1,​T2,​T3,​T4>

  • All Superinterfaces:
    Attachable, java.lang.AutoCloseable, java.util.concurrent.Flow.Publisher<java.lang.Integer>, Insert<R>, InsertFinalStep<R>, InsertOnDuplicateStep<R>, InsertReturningStep<R>, org.reactivestreams.Publisher<java.lang.Integer>, Query, QueryPart, RowCountQuery, java.io.Serializable, Statement

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

    Example:

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