Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionManager

ConnectionManager is used to store and manage multiple orm connections. It also provides useful factory methods to simplify connection creation.

Hierarchy

  • ConnectionManager

Index

Properties

Methods

Properties

connections

connections: Connection[] = []

List of connections registered in this connection manager.

Methods

create

get

  • Gets registered connection with the given name. If connection name is not given then it will get a default connection. Throws error if connection with the given name was not found.

    Parameters

    • Default value name: string = "default"

    Returns Connection

has

  • has(name: string): boolean

Generated using TypeDoc