Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DatabaseService

A singleton, non-unit service that stores and retrieves database connections by name.

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly connections

connections: {} = {}

Mapping of connection name -> connection instance for connections registered with this service.

Type declaration

Protected logging

logging: Logging

Accessors

Private appClassApplication

Methods

Protected app

Protected container

get

getBoundMethod

  • getBoundMethod(methodName: string): (...args: any[]) => any
  • Get the method with the given name from this class, bound to this class.

    Parameters

    • methodName: string

    Returns (...args: any[]) => any

    function

      • (...args: any[]): any
      • Parameters

        • Rest ...args: any[]

        Returns any

has

  • has(name: string): boolean
  • Returns true if a connection is registered with the given name.

    Parameters

    • name: string

    Returns boolean

Protected make

  • make<T>(target: any, ...parameters: any[]): T

names

  • names(): string[]

register

uniqueName

  • uniqueName(): string
Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.