@Generated(value="This class was generated using jOOQ-tools") public interface InsertValuesStep1<R extends Record,T1> extends InsertOnDuplicateStep<R>
Insert
's DSL API.
Example:
using(configuration)
.insertInto(table, field1)
.values(field1)
.values(field1)
.onDuplicateKeyUpdate()
.set(field1, value1)
.set(field2, value2)
.execute();
Modifier and Type | Method and Description |
---|---|
InsertOnDuplicateStep<R> |
select(Select<? extends Record1<T1>> select)
Use a
SELECT statement as the source of values for the
INSERT statement
This variant of the INSERT .. |
InsertValuesStep1<R,T1> |
values(Collection<?> values)
Add values to the insert statement.
|
InsertValuesStep1<R,T1> |
values(Field<T1> value1)
Add values to the insert statement.
|
InsertValuesStep1<R,T1> |
values(T1 value1)
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 InsertValuesStep1<R,T1> values(T1 value1)
@Support InsertValuesStep1<R,T1> values(Field<T1> value1)
@Support InsertValuesStep1<R,T1> values(Collection<?> values)
@Support InsertOnDuplicateStep<R> select(Select<? extends Record1<T1>> 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)
Copyright © 2015. All Rights Reserved.