FirestoreValuetype
{
readonly nullValue?: null;
readonly booleanValue?: boolean;
readonly integerValue?: string | number;
readonly doubleValue?: string | number;
readonly stringValue?: string;
readonly timestampValue?: string;
readonly bytesValue?: string;
readonly referenceValue?: string;
readonly geoPointValue?: { readonly latitude?: number; readonly longitude?: number };
readonly arrayValue?: { readonly values?: ImmutableArray<FirestoreValue> };
readonly mapValue?: { readonly fields?: FirestoreFields };
}| Property | Type | |
|---|---|---|
.nullValue | null | readonly |
.booleanValue | boolean | readonly |
.integerValue | stringnumber | readonly |
.doubleValue | stringnumber | readonly |
.stringValue | string | readonly |
.timestampValue | string | readonly |
.bytesValue | string | readonly |
.referenceValue | string | readonly |
.geoPointValue | { readonly latitude?: number; readonly longitude?: number } | readonly |
.arrayValue | { readonly values?: ImmutableArray<FirestoreValue> } | readonly |
.mapValue | { readonly fields?: FirestoreFields } | readonly |
| Type | |
|---|---|
ImmutableArray | Immutable array: an array that cannot be changed. |
FirestoreValue | JSON representation of a single value in the Firestore REST API. |
FirestoreFields | JSON representation of the fields of a Firestore document in the Firestore REST API. |
JSON representation of a single value in the Firestore REST API.