@Generated(value="This class was generated using jOOQ-tools") public interface InsertValuesStep3<R extends Record,T1,T2,T3> extends InsertOnDuplicateStep<R>
Insert
's DSL API.
Example:
using(configuration)
.insertInto(table, field1, field2, field3)
.values(field1, field2, field3)
.values(field1, field2, field3)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
Modifier and Type | Method and Description |
---|---|
Insert<R> |
select(Select<? extends Record3<T1,T2,T3>> select)
Use a
SELECT statement as the source of values for the
INSERT statement
This variant of the INSERT .. |
InsertValuesStep3<R,T1,T2,T3> |
values(Collection<?> values)
Add values to the insert statement.
|
InsertValuesStep3<R,T1,T2,T3> |
values(Field<T1> value1,
Field<T2> value2,
Field<T3> value3)
Add values to the insert statement.
|
InsertValuesStep3<R,T1,T2,T3> |
values(T1 value1,
T2 value2,
T3 value3)
Add values to the insert statement.
|
onDuplicateKeyIgnore, onDuplicateKeyUpdate
returning, returning, returning
bind, bind, cancel, close, execute, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, queryTimeout
attach, detach
@Support InsertValuesStep3<R,T1,T2,T3> values(T1 value1, T2 value2, T3 value3)
@Support InsertValuesStep3<R,T1,T2,T3> values(Field<T1> value1, Field<T2> value2, Field<T3> value3)
@Support InsertValuesStep3<R,T1,T2,T3> values(Collection<?> values)
@Support Insert<R> select(Select<? extends Record3<T1,T2,T3>> 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:
DSLContext.insertInto(Table, Field, Field, Field)
Copyright © 2014. All Rights Reserved.