Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "transaction"

import type { Transaction } from "arangojs/transaction";

The "transaction" module provides transaction related types and interfaces for TypeScript.

Index

Classes

Type aliases

Functions

Type aliases

TransactionStatus

TransactionStatus: { id: string; status: "running" | "committed" | "aborted" }

Status of a given transaction.

See also TransactionDetails.

Type declaration

  • id: string

    Unique identifier of the transaction.

  • status: "running" | "committed" | "aborted"

    Status of the transaction.

Functions

isArangoTransaction

  • isArangoTransaction(transaction: any): transaction is Transaction
  • Indicates whether the given value represents a Transaction.

    Parameters

    • transaction: any

      A value that might be a transaction.

    Returns transaction is Transaction

Generated using TypeDoc