Class SQLConnectionAbstract

Hierarchy

  • SQLConnection

Constructors

Properties

connectionPool: SQLConnectionPool
logger: DatabaseLogger = ...
released: boolean = false
stopwatch?: Stopwatch
transaction?: DatabaseTransaction

Methods

  • Parameters

    • sql: string
    • Optional params: any[]

    Returns Promise<any>

  • Runs a single SQL query.

    Parameters

    • sql: string
    • Optional params: any[]

    Returns Promise<any>

Generated using TypeDoc