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

TransactionOptions

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

Options for beginning a new transaction. Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.

interface TransactionOptions {
readOnly?: ReadOnly;
readWrite?: ReadWrite;
}

§Properties

§
readOnly?: ReadOnly
[src]

The transaction should only allow reads.

§
readWrite?: ReadWrite
[src]

The transaction should allow both reads and writes.