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

Comment on: "manual/reference/operator/update/pull.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      In the examples there is a passage:

      "
      After the operation, the results array contains no documents that contains score field equal to 8 and item field equal to "B":
      {
      "_id" : 1,
      "results" : [

      { "item" : "A", "score" : 5 }

      ]
      }
      {
      "_id" : 2,
      "results" : [

      { "item" : "C", "score" : 8, "comment" : "Strongly agree" }

      ,

      { "item" : "B", "score" : 4 }

      ]
      }
      "
      Should the object with "_id: 2" not have an empty "results" array? Or am I misunderstanding something?

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            bal42 Balint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 41 weeks, 1 day ago