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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Cannot Reproduce
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      running mongodb@2.1.18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

            Assignee:
            Unassigned
            Reporter:
            Charles Eubanks
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: