Options
All
  • Public
  • Public/Protected
  • All
Menu

Factory for registering and creating database adapters.

Hierarchy

  • DbAdapterFactory

Index

Methods

Static create

Static registerAdapter

  • Register database adapter of the given type under the given adapter name.

    The name of the adapter specified here must be equal to the name of the associated adapter specified in the connection info of the database config.

    Parameters

    • name: string

      the associated name of the adapter

    • adapterType: IDbAdapterConstructor

      the constructor functions of the adapter

    Returns void

Generated using TypeDoc