ehsanUmar

Results comments of ehsanUmar

For Db.prototype.authenticate method will no longer be available Error try this. var mongoose = require('mongoose'); mongoose.Promise = global.Promise; mongoose.connect( "mongodb://username:[email protected]:25146/dbName'", { useMongoClient: true } ); For MongoLab Make sure you...

For Db.prototype.authenticate method will no longer be available Error try this. var mongoose = require('mongoose'); mongoose.Promise = global.Promise; mongoose.connect( "mongodb://username:[email protected]:25146/dbName'", { useMongoClient: true } ); For MongoLab Make sure you...

Basically, what I need here whenever I drop any control I have to check it's type and then finds that type in my JSON schema that only gives me those...