|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InsertValuesStep<R extends Record>
This type is used for the Insert
's DSL API.
Example:
Factory create = new Factory();
create.insertInto(table, field1, field2)
.values(value1, value2)
.values(value3, value4)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
Method Summary | |
---|---|
Insert<R> |
select(Select<?> select)
Use a SELECT statement as the source of values for the
INSERT statement
This variant of the INSERT .. |
InsertValuesStep<R> |
values(Collection<?> values)
Add values to the insert statement |
InsertValuesStep<R> |
values(Field<?>... values)
Add values to the insert statement |
InsertValuesStep<R> |
values(Object... values)
Add values to the insert statement |
Methods inherited from interface org.jooq.InsertOnDuplicateStep |
---|
onDuplicateKeyUpdate |
Methods inherited from interface org.jooq.Query |
---|
bind, bind, execute, getBindValues, getParam, getParams, getSQL, getSQL |
Methods inherited from interface org.jooq.Attachable |
---|
attach |
Methods inherited from interface org.jooq.Adapter |
---|
internalAPI |
Methods inherited from interface org.jooq.InsertReturningStep |
---|
returning, returning, returning |
Method Detail |
---|
InsertValuesStep<R> values(Object... values)
InsertValuesStep<R> values(Field<?>... values)
InsertValuesStep<R> values(Collection<?> values)
Insert<R> select(Select<?> select)
SELECT
statement as the source of values for the
INSERT
statement
This variant of the INSERT .. SELECT
statement expects a
select returning exactly as many fields as specified previously in the
INTO
clause:
FactoryOperations.insertInto(Table, Field...)
or
FactoryOperations.insertInto(Table, Collection)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |