Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cfp:~/git/bs > ./script/dbconsole
- MongoDB shell version: 1.2.1
- url: bs_development
- connecting to: bs_development
- type "help" for help
- > db.users.save({ 'email' : 'ara.t.howard@gmail.com' })
- > db.users.save({ 'email' : 'ara.t.howard@gmail.com' })
- E11000 duplicate key errorindex: bs_development.users.$email_1 dup key: { : "ara.t.howard@gmail.com" }
- > db.system.indexes.find()
- { "name" : "_id_", "ns" : "bs_development.users", "key" : { "_id" : ObjectId("000000000000000000000000") } }
- { "name" : "_id_", "ns" : "bs_development.app.models", "key" : { "_id" : ObjectId("000000000000000000000000") } }
- { "name" : "_id_", "ns" : "bs_development.bs_development.users", "key" : { "_id" : ObjectId("000000000000000000000000") } }
- { "ns" : "bs_development.bs_development.users", "key" : { "email" : 1 }, "name" : "email_1", "unique" : true }
- { "ns" : "bs_development.users", "key" : { "email" : 1 }, "name" : "email_1", "unique" : true }
- >
Add Comment
Please, Sign In to add comment