Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MutationResult

import type { MutationResult } from "https://googleapis.deno.dev/v1/datastore:v1.ts";

The result of applying a mutation.

interface MutationResult {
conflictDetected?: boolean;
createTime?: Date;
key?: Key;
updateTime?: Date;
version?: bigint;
}

§Properties

§
conflictDetected?: boolean
[src]

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

§
createTime?: Date
[src]

The create time of the entity. This field will not be set after a 'delete'.

§
key?: Key
[src]

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

§
updateTime?: Date
[src]

The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.

§
version?: bigint
[src]

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.