Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for execution against QLDB in the context of a transaction.

Hierarchy

  • TransactionExecutable

Implemented by

Index

Methods

execute

  • execute(statement: string, ...parameters: any[]): Promise<Result>
  • Execute the specified statement in the current transaction.

    Parameters

    • statement: string

      A statement to execute against QLDB as a string.

    • Rest ...parameters: any[]

      Rest parameters of Ion values or JavaScript native types that are convertible to Ion for filling in parameters of the statement.

    Returns Promise<Result>

    Promise which fulfills with a fully-buffered Result.

executeAndStreamResults

  • executeAndStreamResults(statement: string, ...parameters: any[]): Promise<Readable>
  • Execute the specified statement in the current transaction.

    Parameters

    • statement: string

      A statement to execute against QLDB as a string.

    • Rest ...parameters: any[]

      Rest parameters of Ion values or JavaScript native types that are convertible to Ion for filling in parameters of the statement.

    Returns Promise<Readable>

    Promise which fulfills with a Readable.

Generated using TypeDoc