Hierarchy

Constructors

Properties

_collections: {
    [collectionName: string]: T;
}

Type declaration

  • [collectionName: string]: T
sequelize: Sequelize = null

We can't directly use the Sequelize version we install in the package.json as the customer's version may be different. To ensure compatibility, we need to only import types from Sequelize, and use the customer sequelize version to deal with the data manipulation.

Accessors

  • get collections(): T[]
  • Returns T[]

  • get schema(): DataSourceSchema
  • Returns DataSourceSchema

Methods

  • Parameters

    Returns Promise<unknown>