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

Value

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

A message that can hold any of the supported value types and associated metadata.

interface Value {
arrayValue?: ArrayValue;
blobValue?: Uint8Array;
booleanValue?: boolean;
doubleValue?: number;
entityValue?: Entity;
excludeFromIndexes?: boolean;
geoPointValue?: LatLng;
integerValue?: bigint;
keyValue?: Key;
meaning?: number;
nullValue?: "NULL_VALUE";
stringValue?: string;
timestampValue?: Date;
}

§Properties

§
arrayValue?: ArrayValue
[src]

An array value. Cannot contain another array value. A Value instance that sets field array_value must not set fields meaning or exclude_from_indexes.

§
blobValue?: Uint8Array
[src]

A blob value. May have at most 1,000,000 bytes. When exclude_from_indexes is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.

§
booleanValue?: boolean
[src]

A boolean value.

§
doubleValue?: number
[src]

A double value.

§
entityValue?: Entity
[src]

An entity value. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key.

§
excludeFromIndexes?: boolean
[src]

If the value should be excluded from all indexes including those defined explicitly.

§
geoPointValue?: LatLng
[src]

A geo point value representing a point on the surface of Earth.

§
integerValue?: bigint
[src]

An integer value.

§
keyValue?: Key
[src]

A key value.

§
meaning?: number
[src]

The meaning field should only be populated for backwards compatibility.

§
nullValue?: "NULL_VALUE"
[src]

A null value.

§
stringValue?: string
[src]

A UTF-8 encoded string value. When exclude_from_indexes is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.

§
timestampValue?: Date
[src]

A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.