Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TransactionOptions

Options provided when the transaction is created

Hierarchy

Index

Properties

autocommit?: boolean
benchmark?: boolean

Pass query execution time in milliseconds as second argument to logging function (options.logging).

deferrable?: string | Deferrable
isolationLevel?: ISOLATION_LEVELS
logging?: boolean | ((sql: string, timing?: number) => void)

A function that gets executed while running the query to log the sql.

readOnly?: boolean
transaction?: null | Transaction

Parent transaction.

Generated using TypeDoc