Skip to main content
Module

x/google_datastore/types.d.ts>MutationResult

A set of APIs that allow interfacing to Google Datastore on GCP from Deno.
Go to Latest
interface MutationResult
import { type MutationResult } from "https://deno.land/x/google_datastore@0.0.14/types.d.ts";

The result of applying a mutation.

Properties

conflictDetected: boolean

Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.

optional
key: Key

The automatically allocated key. Set only when the mutation allocated a key.

version: string

The version of the entity on the server after processing the mutation.

If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.