I have the following code:
console.log(FlavoursList.findOne(selectedFlavour, {name: 1}));
It returns the following:
Object {_id: "EYvEHWMXuRMvXWKLW", name: "chocolate", votes: 42}
I want it to return just the name! I thought that the second argument limited the scope to return…