Mongodb aggregation is hard. We create query converter from sql to mongodb aggregation pipeline. Easy to use.
After getting the pipeline, use this (collection customer)
db.customer.aggregate([{"$project": {“name”:1}}])
Mongodb aggregation is hard. We create query converter from sql to mongodb aggregation pipeline. Easy to use.
After getting the pipeline, use this (collection customer)
db.customer.aggregate([{"$project": {“name”:1}}])