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

Collection.findOne result does not comply with documentation

      Collection.findOne is documented as returning an insertWriteOpResult object
      http://mongodb.github.io/node-mongodb-native/2.0/api/Collection.html#~insertWriteOpResult

      This object is expected to have an array property insertedIds with a single element.
      The result object actually returned contains an insertedId property but no insertedIds property

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            timoch TiMoch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: