Module org.jooq
Package org.jooq

Interface InsertQuery<R extends Record>

Type Parameters:
R - The record type of the table being inserted into
All Superinterfaces:
Attachable, AttachableQueryPart, AutoCloseable, ConditionProvider, Flow.Publisher<Integer>, Insert<R>, Publisher<Integer>, org.reactivestreams.Publisher<Integer>, Query, QueryPart, RowCountQuery, Serializable, Statement, StoreQuery<R>

public interface InsertQuery<R extends Record> extends StoreQuery<R>, Insert<R>, ConditionProvider
An INSERT statement (model API).

This type is the model API representation of a Insert statement, which can be mutated after creation. The advantage of this API compared to the DSL API is a more simple approach to writing dynamic SQL.

Instances can be created using DSLContext.insertQuery(Table) and overloads.

Author:
Lukas Eder