@myfunc/prisma-transactional
Version:
Decorator that wraps all prisma queries along the whole call stack to a single transaction.
12 lines (11 loc) • 373 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmptyLogger = void 0;
class EmptyLogger {
log(message, ...optionalParams) { }
error(message, ...optionalParams) { }
warn(message, ...optionalParams) { }
debug(message, ...optionalParams) { }
verbose(message, ...optionalParams) { }
}
exports.EmptyLogger = EmptyLogger;