@Generated(value="This class was generated using jOOQ-tools") public interface InsertValuesStep2<R extends Record,T1,T2> extends InsertOnDuplicateStep<R>
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();
Modifier and Type | Method and Description |
---|---|
InsertOnDuplicateStep<R> |
select(Select<? extends Record2<T1,T2>> select)
Use a
SELECT statement as the source of values for the
INSERT statement
This variant of the INSERT .. |
InsertValuesStep2<R,T1,T2> |
values(Collection<?> values)
Add values to the insert statement.
|
InsertValuesStep2<R,T1,T2> |
values(Field<T1> value1,
Field<T2> value2)
Add values to the insert statement.
|
InsertValuesStep2<R,T1,T2> |
values(T1 value1,
T2 value2)
Add values to the insert statement.
|
onDuplicateKeyIgnore, onDuplicateKeyUpdate
returning, returning, returning
bind, bind, cancel, close, execute, executeAsync, executeAsync, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, queryTimeout
attach, detach
@Support InsertValuesStep2<R,T1,T2> values(T1 value1, T2 value2)
@Support InsertValuesStep2<R,T1,T2> values(Field<T1> value1, Field<T2> value2)
@Support InsertValuesStep2<R,T1,T2> values(Collection<?> values)
@Support InsertOnDuplicateStep<R> select(Select<? extends Record2<T1,T2>> 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)
Copyright © 2016. All Rights Reserved.