Let\'s say I have the following documents in collection:
{ \"family\": \"Smith\", \"children\": [ { \"child_name\": \"John\"
You can just do:
db.collection.distinct("children.child_name");
In your case it returns:
[ "John", "Anna", "Kevin" ]