``[{"$project": {"_id": 1, "alfa_id2": "$alfa_id"}}] error : unknown operator: $project
[ { "_id": 1, "alfa_id2": "$alfa_id" } ] no error but i have nothing in output 0 rows.
{ "_id": 1, "alfa_id2": "$alfa_id" } no error but i have nothing in output 0 rows.
db.getCollection('alfa').aggregate([{$project: {'_id': 1,'alfa_id2': '$alfa_id'}}]) error can't use db.getCollection('alfa') ...`` and others
Anyone who has had this type of problem ? Is there another way to use aggregation in mongodb source query pls?
Thank you !