interface Logging {
    benchmark?: boolean;
    logging?: false | (sql: string, timing?: number) => void;
}

Hierarchy (View Summary)

Properties

Properties

benchmark?: boolean

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

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

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