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

bson-ext storing array as object

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: EJSON
    • Not Needed

      What problem are you facing?

      array field is being stored as an object in the db.

      What driver and relevant dependency versions are you using?

      "bson": "4.6.0",
      "bson-ext": "4.0.2",
      "mongodb": "4.2.2",
      "mongoose": "6.1.3",
      "snappy": "6.3.5"

      Steps to reproduce?

      attaching a js file to reproduce the issue.

        1. run2.js
          0.9 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            kunal.khandelwal@curefit.com Kunal Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: