Class DataSource

Represents a generic data source for the ORM to use

Hierarchy

  • DataSource

Constructors

Properties

Methods

Constructors

Properties

name: string
DEFAULT: string = "default"

Default data source name

dataSources: Map<string, DataSource> = ...

Global data sources

Methods

  • Sets a data source

    Parameters

    • name: string

      Name of the data source. Use "default" for default data source

    • datSource: DataSource

      Data source

    Returns void

Generated using TypeDoc