UNPKG

nestjs-transaction

Version:

A library that extracts and provides only some of the functions of the 'typeorm-transactional' npm module that are needed to operate in the Nestjs + TypeORM environment

9 lines 328 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.runInTransaction = void 0; const _1 = require("."); const runInTransaction = (fn, options) => { return (0, _1.wrapInTransaction)(fn, options)(); }; exports.runInTransaction = runInTransaction; //# sourceMappingURL=run-in-transaction.js.map