CommitRequest
import type { CommitRequest } from "https://googleapis.deno.dev/v1/datastore:v1.ts";The request for Datastore.Commit.
§Properties
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
The type of commit to perform. Defaults to TRANSACTIONAL.
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.
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, TransactionOptions.mode must be TransactionOptions.ReadWrite.