Search Results


4 years ago by 1

I am trying to create a unique key on a collection. It fails with the error message: > db.users.createIndex({userid:1},{unique:true}) { "ok" : 0, "errmsg" : "E11000 duplicate key error collec . . .

  • 2
  • 0
  • 18012