These are chat archives for Automattic/mongoose

6th
Apr 2017
Ahmad Abdullah Tariq
@ahmadabdullah247
Apr 06 2017 06:03
Hi, I am facing an issue retreving data from monodb. I am getting high latency only in retreving data. Has anyone faced same issue ?
mgabriska
@mgabriska
Apr 06 2017 06:42
Hey guys, i am new to mongoose. I am trying to get distinct values in field like this Provider.distinct('city',function(err,result){
console.log(result)
}); but result is always undefined. Can you help me?
Ashutosh Mittal
@ashuSvirus
Apr 06 2017 07:01
hi trying unique indexing in my schema, but it still saving data and not showing any errors.
var UserSchema = new mongoose.Schema({ name: String, password: {type: String, unique: true}, admin: Boolean, email: {type: String, unique: true}, username: {type: String, unique: true} });
alcmontejo
@alcmontejo_twitter
Apr 06 2017 11:50
hello guys, Im looking for good material for mongoDB cons and prons? need to new project proposal. thanks in advance.