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 {
readLockMode?: "READ_LOCK_MODE_UNSPECIFIED" | "PESSIMISTIC" | "OPTIMISTIC";
}

§Properties

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

Read lock mode for the transaction.