Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1911

Ability to use array filters with bulk operations

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • next
    • Affects Version/s: 3.2.0
    • Component/s: Native
    • Environment:
      Linux (kubuntu)

      Can't use array filters with the MongoDB node driver

      UnhandledPromiseRejectionWarning: TypeError: bulk.find(...).arrayFilters is not a function
      

      See main MongoDB documetnation here: https://docs.mongodb.com/manual/reference/method/Bulk.find.arrayFilters/#Bulk.find.arrayFilters
      and latest node driver API docs here:
      http://mongodb.github.io/node-mongodb-native/3.2/api/FindOperators.html

            Assignee:
            rosemary.yin@mongodb.com Rosemary Yin (Inactive)
            Reporter:
            sjl Sam Lea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: