Details
-
Typo
-
Resolution: Fixed
-
Trivial - P5
-
None
-
None
-
learning website
Description
Description
Hi all,
On the documentation site for $unset(aggregation)
https://docs.mongodb.com/manual/reference/operator/aggregation/unset/index.html
The output of $unset Remove a Single Field shows as below.
{ "_id" : 1, "title" : "Antelope Antics", "author" :
{ "last" : "An", "first" : "Auntie" }} { "_id" : 2, "title" : "Bees Babble", "author" :
{ "last" : "Bumble", "first" : "Bee" }}
Should the output not include the "ISBN" filed also in the output as this filed is not excluded in the condition?