org.jooq
Interface InsertSetMoreStep<R extends Record>

All Superinterfaces:
Adapter, Attachable, Insert<R>, InsertFinalStep<R>, InsertOnDuplicateStep<R>, InsertReturningStep<R>, InsertSetStep<R>, Query, QueryPart, Serializable

public interface InsertSetMoreStep<R extends Record>
extends InsertSetStep<R>, InsertOnDuplicateStep<R>

This type is used for the Insert's alternative DSL API.

Example:

 Factory create = new Factory();

 create.insertInto(table)
       .set(field1, value1)
       .set(field2, value2)
       .newRecord()
       .set(field1, value3)
       .set(field2, value4)
       .onDuplicateKeyUpdate()
       .set(field1, value1)
       .set(field2, value2)
       .execute();
 

Author:
Lukas Eder

Method Summary
 InsertSetStep<R> newRecord()
          Add an additional record to the INSERT statement
 
Methods inherited from interface org.jooq.InsertSetStep
select, set, set, set, values, values, values
 
Methods inherited from interface org.jooq.InsertOnDuplicateStep
onDuplicateKeyIgnore, onDuplicateKeyUpdate
 
Methods inherited from interface org.jooq.Query
bind, bind, execute, getBindValues, getParam, getParams, getSQL, getSQL, isExecutable
 
Methods inherited from interface org.jooq.QueryPart
attach
 
Methods inherited from interface org.jooq.Adapter
internalAPI
 
Methods inherited from interface org.jooq.InsertReturningStep
returning, returning, returning
 

Method Detail

newRecord

InsertSetStep<R> newRecord()
Add an additional record to the INSERT statement

See Also:
InsertQuery.newRecord()


Copyright © 2012. All Rights Reserved.