What is the difference between safe:true and safe:false in a connection with mongoskin? and how use it?
问题 I have a connection with mongoskin and nodejs: var db = mongo.db("root:toor@127.0.0.1:27017/cordoba"); but I don't know which is the best practice in this case... db.collection('usuarios').insert(campos,{safe:true}, function(err, result) I want to insert campos in mongodb, I'm using safe:true... so what happens if I use safe:false, and what is the best practice? this: var db = mongo.db("root:toor@127.0.0.1:27017/cordoba"); db.collection('usuarios').insert(campos,{safe:true}, function(err,