UpsertMany class

Insert or update many SQL statement builder.

Use into method to set the table to insert into. Use add, addAll, addMap and addAllMap to set column values.

Use exec statement or Adapter to execute the statement against a database.

Implemented types

Constructors

UpsertMany(String name)

Properties

asImmutable ImmutableUpsertManyStatement
Read-only representation of this statement.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Iterable<SetColumn> row) UpsertMany
Adds a single row to be inserted.
addAll(Iterable<Iterable<SetColumn>> rows) UpsertMany
Adds many rows to be inserted.
addAllMap(Iterable<Map<String, dynamic>> rows) UpsertMany
Adds many rows to be inserted.
addMap(Map<String, dynamic> row) UpsertMany
Adds a single row to be inserted.
exec<T>(Adapter adapter) Future<void>
Executes the statement with the given adapter.
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