BatchBuilder class final

Collects statements to run in a Database.batch.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(String sql, {List<Object?> arguments = const [], Map<String, Object?> namedArguments = const {}}) BatchRequest
Adds a Database.execute call to this batch.
executeStored(StoredSql sql, {List<Object?> arguments = const [], Map<String, Object?> namedArguments = const {}}) BatchRequest
Adds a StoredSql.execute call to this batch.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
select(String sql, {List<Object?> arguments = const [], Map<String, Object?> namedArguments = const {}}) BatchRequest
Adds a Database.select call to this batch.
selectStored(StoredSql sql, {List<Object?> arguments = const [], Map<String, Object?> namedArguments = const {}}) BatchRequest
Adds a StoredSql.select call to this batch.
toString() String
A string representation of this object.
inherited

Operators

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