Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4381

getLastError returns n:0 after insert, always

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Querying
    • None

    Description

      > db.user.insert({_id:"test2"})
      > db.getLastErrorObj()         
      {
      	"n" : 0,
      	"lastOp" : NumberLong("5680229325681459201"),
      	"connectionId" : 2,
      	"err" : null,
      	"ok" : 1
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: