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

getLastError returns n:0 after insert, always

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None

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

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

              Created:
              Updated:
              Resolved: