[DOCS-13067] Output not correct Created: 02/Oct/19  Updated: 30/Oct/23  Resolved: 02/Oct/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Typo Priority: Trivial - P5
Reporter: Vijaya Bhaskar Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

learning website


Issue Links:
Duplicate
Participants:
Days since reply: 4 years, 18 weeks, 4 days ago
Epic Link: DOCSP-1769

 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?

 

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Vijaya Bhaskar [ 06/Oct/19 ]

Yes I can see that it is updated accordingly. 

Thank you.

Comment by Kay Kim (Inactive) [ 02/Oct/19 ]

Thanks for the heads up.  The example has been fixed.   You may need to refresh the page to see the changes.  Regards – Kay

Comment by Githook User [ 02/Oct/19 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'Kay Kim'}

Message: DOCS-13067: fix unset output
Branch: master
https://github.com/mongodb/docs/commit/1dd28476c27d45e0c60585efadcc085646a63ada

Generated at Thu Feb 08 08:06:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.