Skip to main content
Module

x/google_datastore/types.d.ts>EntityResult

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

The result of fetching an entity from Datastore.

Properties

optional
cursor: string

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

entity: Entity

The resulting entity.

optional
version: string

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.