Options
All
  • Public
  • Public/Protected
  • All
Menu

Abstract base class for database connections.

abstract

Hierarchy

Index

Constructors

constructor

  • new Connection(name: string, config?: any): Connection

Properties

Protected bus

Readonly config

config: any = {}

Readonly name

name: string

Accessors

Private appClassApplication

Methods

Protected app

Abstract asTransaction

Abstract close

  • close(): Promise<void>

Protected container

Abstract dialect

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

Abstract init

  • init(): Promise<void>

Protected make

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

Abstract query

Protected queryExecuted

  • queryExecuted(query: string): Promise<void>

Abstract schema

  • schema(name?: string): Schema
Extollo Logo

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

Extollo is a free & libre application framework in TypeScript.