Interface TransactionOptions

Options provided when the transaction is created



autocommit?: boolean
benchmark?: boolean

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

deferrable?: string | Deferrable | Class<Deferrable, any[]>
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