UNPKG

ffc-pay-etl-framework

Version:

A framework for creating ETL pipelines in node

21 lines (20 loc) 473 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * * @param {Object} options * @param {Object} options.connectionname * @param {Object} options.sequelize * @returns Connection */ async function ProvidedConnection(options) { const connectionname = options.connectionname; const sequelize = options.sequelize; return { name: connectionname, db: sequelize }; } module.exports = { ProvidedConnection };