简体   繁体   中英

Mongodb - How to debug aggregation steps?

How can I debug the MongoDb aggregation steps using native mongodb driver for node.js Node.js Mongodb driver

What I have found by googling is this npm package: https://www.npmjs.com/package/mongo-aggregation-debugger

Are there any other alternatives?

This is an old post but Aggregation Pipeline Builder in MongoDb Compass works great for debugging. You can build your pipeline with real-time results and errors then export the result to Node.js (Java, Python or C#).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM