Document arrayFilters option for `findAndModify`, `findOneAndUpdate`

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 3.0.7
    • Component/s: Native
    • Environment:
      not relevant really.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The mongodb docs Here show arrayFilters as an option ( same for findOneAndUpdate ). The native js driver only appears to support this option for the update* commands:

      mongodb: awk '/options.arrayFilters/,/ = / { print $1 }' lib/collection.js | grep Coll
      Collection.prototype.updateOne
      Collection.prototype.updateMany
      Collection.prototype.update
      mongodb:
      

      It is supported in other methods, so we should document where it is supported.

            Assignee:
            Rebecca Weinberger (Inactive)
            Reporter:
            Kevin Huff
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: