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

BeginTransactionRequest

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

The request for BeginTransaction.

interface BeginTransactionRequest {
mutationKey?: Mutation;
requestOptions?: RequestOptions;
}

§Properties

§
mutationKey?: Mutation
[src]

Optional. Required for read-write transactions on a multiplexed session that commit mutations but don't perform any reads or queries. You must randomly select one of the mutations from the mutation set and send it as a part of this request.

§

Required. Options for the new transaction.

§
requestOptions?: RequestOptions
[src]

Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct doesn't do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.