Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13067

Output not correct

    XMLWordPrintableJSON

Details

    • Icon: Typo Typo
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • Server_Docs_20231030
    • None
    • manual, Server
    • 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?

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            vbonline79@gmail.com Vijaya Bhaskar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 18 weeks, 4 days ago