PartitionReadRequest
import type { PartitionReadRequest } from "https://googleapis.deno.dev/v1/spanner:v1.ts";
The request for PartitionRead
interface PartitionReadRequest {
columns?: string[];
index?: string;
keySet?: KeySet;
partitionOptions?: PartitionOptions;
table?: string;
transaction?: TransactionSelector;
}§Properties
§
index?: string
[src]If non-empty, the name of an index on table. This index is used instead of the table primary key when interpreting key_set and sorting result rows. See key_set for further information.
§
Required. key_set
identifies the rows to be yielded. key_set
names the
primary keys of the rows in table to be yielded, unless index is present.
If index is present, then key_set instead names index keys in index. It is
not an error for the key_set
to name rows that do not exist in the
database. Read yields nothing for nonexistent rows.
§
partitionOptions?: PartitionOptions
[src]Additional options that affect how many partitions are created.
§
transaction?: TransactionSelector
[src]Read only snapshot transactions are supported, read/write and single use transactions are not.