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

TransactionSelector

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

This message is used to select the transaction in which a Read or ExecuteSql call runs. See TransactionOptions for more information about transactions.

interface TransactionSelector {
id?: Uint8Array;
singleUse?: TransactionOptions;
}

§Properties

§

Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in ResultSetMetadata.transaction, which is a Transaction.

§
id?: Uint8Array
[src]

Execute the read or SQL query in a previously-started transaction.

§

Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query.