CommitRequest class

The request for Datastore.Commit.

Constructors

CommitRequest()
CommitRequest.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
mode String
The type of commit to perform. Defaults to TRANSACTIONAL. Possible string values are: [...]
read / write
mutations List<Mutation>
The mutations to perform. When mode is TRANSACTIONAL, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single Commit request: - insert followed by insert - update followed by insert - upsert followed by insert - delete followed by update When mode is NON_TRANSACTIONAL, no two mutations may affect a single entity.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
transaction String
The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction.
read / write
transactionAsBytes List<int>
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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