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

EntityResult

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

The result of fetching an entity from Datastore.

interface EntityResult {
createTime?: Date;
cursor?: Uint8Array;
entity?: Entity;
updateTime?: Date;
version?: bigint;
}

§Properties

§
createTime?: Date
[src]

The time at which the entity was created. This field is set for FULL entity results. If this entity is missing, this field will not be set.

§
cursor?: Uint8Array
[src]

A cursor that points to the position after the result entity. Set only when the EntityResult is part of a QueryResultBatch message.

§
entity?: Entity
[src]

The resulting entity.

§
updateTime?: Date
[src]

The time at which the entity was last changed. This field is set for FULL entity results. If this entity is missing, this field will not be set.

§
version?: bigint
[src]

The version of the entity, a strictly positive number that monotonically increases with changes to the entity. This field is set for FULL entity results. For missing entities in LookupResponse, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.