Hi all
there is a little mistake (typing error) on the second command of the file.
db.solarSystem.aggregate([{"$project": { “_id”: 0, “name”: 1, “gravity”: “$gravity.value” } }])’’
E QUERY [js] SyntaxError: missing ; before statement @(shell):1:95
db.solarSystem.aggregate([{"$project": { “_id”: 0, “name”: 1, “gravity”: “$gravity.value” } }]);
Hoping this is the right place where send these advices.