标签: mongodb
exports = function() { var collection = context.services.get("mongodbatlas").db("nhansudb").collection("users"); var result = collection.find({}) return result };
如何使用BSON.Code返回函数?