• Type: Icon: Typo Typo
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:
      None
    • Environment:
      learning website

      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.)

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

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