InsertStmt class

Inheritance

Constructors

InsertStmt(String table, List<String>? columns, List<List<Expr>>? rows, {InsertMode mode = InsertMode.normal, SelectStmt? select, List<SelectItem>? returning, Map<String, SelectStmt> ctes = const {}, Map<String, List<String>> cteColumns = const {}, bool ctesRecursive = false, OnConflictClause? onConflict})

Properties

columns → List<String>?
final
cteColumns → Map<String, List<String>>
final
ctes → Map<String, SelectStmt>
Optional WITH name AS (...) CTE bindings.
final
ctesRecursive → bool
final
hashCode → int
The hash code for this object.
no setterinherited
mode → InsertMode
final
onConflict → OnConflictClause?
Optional UPSERT clause.
final
returning → List<SelectItem>?
Optional RETURNING ... projection.
final
rows → List<List<Expr>>?
Either rows or select is non-null. When select is set, the values for each inserted row come from running it as a subquery.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
select → SelectStmt?
final
table → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited