UpdateBody class

Constructors

UpdateBody({required String table, required Where where, int? limit, required List<Update> updates, Where? expect})
const
UpdateBody.fromJson(Map<String, dynamic> json)
factory

Properties

expect → Where?
A precondition every target row must meet. When any does not, the server writes nothing and answers 412 with code precondition_failed, carrying the failing rows as details.current -- so "the row changed under you" is distinguishable from "the row is gone" (404).
final
hashCode → int
The hash code for this object.
no setterinherited
limit → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → String
final
updates → List<Update>
final
where → Where
final

Methods

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

Operators

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