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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      The first example shows:
      db.flags.update(

      { flags: 'msr' }

      , { $pull:

      { field: 'msr' }

      } )

      I believe it should be:
      db.flags.update(

      { flags: 'msr' }

      , { $pull:

      { flags: 'msr' }

      } )

      Please note "flags" v.s. "fields".

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            harrypehkonen Harry Pehkonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 42 weeks, 5 days ago