Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConnectionHandler

Index

Methods

closeConnections

  • closeConnections(): Promise<void>
  • Use this if you want to manually close the open connections. Usefull if you want to gracefully terminate connections in response to a signal.

    Returns Promise<void>

getConnection

  • getConnection(): Promise<Db>
  • Returns a connection to the database. Connections are being pooled behind the scenes so there is no need to get multiple connections.

    Returns Promise<Db>

Legend

  • Constructor
  • Property
  • Method

Generated using TypeDoc