getConnectionToken


 getConnectionToken(connection: any = DEFAULT_CONNECTION_NAME): string | Function | Type<Sequelize>

Parameters

Option Type Description
connection any

This optional parameter is either a SequelizeModuleOptions or a string.


Optional. Default is `DEFAULT_CONNECTION_NAME`.

Returns

string | Function | Type<Sequelize> The Connection injection token.