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

ReadWrite

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

Message type to initiate a read-write transaction. Currently this transaction type has no options.

interface ReadWrite {
multiplexedSessionPreviousTransactionId?: Uint8Array;
readLockMode?: "READ_LOCK_MODE_UNSPECIFIED" | "PESSIMISTIC" | "OPTIMISTIC";
}

§Properties

§
multiplexedSessionPreviousTransactionId?: Uint8Array
[src]

Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session.

§
readLockMode?: "READ_LOCK_MODE_UNSPECIFIED" | "PESSIMISTIC" | "OPTIMISTIC"
[src]

Read lock mode for the transaction.