Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MySqlConnection

A MySQL connection.

Hierarchy

Index

Properties

close

close: function

Closes the connection.

returns

The promise.

Type declaration

    • (): Promise<any>
    • Returns Promise<any>

connection

connection: any

The underlying connection object.

name

name: string

The (display) name of the connection.

query

query: function
inheritdoc

Type declaration

    • Parameters

      • sql: string
      • Rest ...args: any[]

      Returns Promise<MySqlResult>

Optional type

The type (if known).

Generated using TypeDoc