ReadOptions
import type { ReadOptions } from "https://googleapis.deno.dev/v1/datastore:v1.ts";
The options shared by read requests.
interface ReadOptions {
newTransaction?: TransactionOptions;
readConsistency?: "READ_CONSISTENCY_UNSPECIFIED" | "STRONG" | "EVENTUAL";
readTime?: Date;
transaction?: Uint8Array;
}§Properties
§
newTransaction?: TransactionOptions
[src]Options for beginning a new transaction for this request. The new transaction identifier will be returned in the corresponding response as either LookupResponse.transaction or RunQueryResponse.transaction.
§
readConsistency?: "READ_CONSISTENCY_UNSPECIFIED" | "STRONG" | "EVENTUAL"
[src]The non-transactional read consistency to use.
§
readTime?: Date
[src]Reads entities as they were at the given time. This value is only supported for Cloud Firestore in Datastore mode. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.