问题标签 [feathers-mongoose]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
79 浏览

mongodb - 羽毛猫鼬:Mongo-DB 事务 - ReferenceError:何时未定义

我正在使用 Feathers 4.5.0 和 Mongo 5.0.2 。我想对集合执行 Mongo DB 事务。我将feather-mongoose文档中的示例复制到我的服务挂钩中。

我收到此错误消息ReferenceError: when is not defined。我删除了“何时”,交易仍然没有工作。