Interface InstanceRestoreOptions

Options used for Instance.restore method

Hierarchy

Properties

benchmark?: boolean

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

logging?: boolean | ((sql: string, timing?: number) => void)

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

transaction?: null | Transaction

The transaction in which this query must be run.

If CLS is enabled and a transaction is running in the current CLS context, that transaction will be used, unless null or a Transaction is manually specified here.

Generated using TypeDoc