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

Add examples of more complex $pull operations

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      e.g.

      .update({_id: 1}, {$pull: { "array1": {$in: ["v1", "v2"]}, "array2": "v3" }})
      

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 29 weeks, 6 days ago