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.
read-only
name → String
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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<T>
Executes the statement with the given adapter.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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