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

insertWriteOpCallback is documented as (err, result) should be (result, err)

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Cannot Reproduce
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • running mongodb@2.1.18

    Description

      The documentation and examples say that insertMany's callback is of type insertWriteOpCallback and that its signature is (error, result). But I am getting this as (result, error).

      Attachments

        Activity

          People

            Unassigned Unassigned
            charles_the_third Charles Eubanks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: