mongoose-q
mongoose-q copied to clipboard
**DEPRECATED** kriskowal's Q support for mongoose
Results
2
mongoose-q issues
Sort by
recently updated
recently updated
newest added
``` model.saveQ() .then(function (result) { var savedDoc = result[0], affectedRows = result[1]; ... }) .catch(function (err) { ... }) .done(); ``` However, `result` is not an array, but is an...
I have two mongo database instances to connect to. For this reason, I have to use: conn1 = mongoose.createConnection('localhost', "db-name-1"); conn2 = mongoose.createConnection('localhost', "db-name-2"); Then to create mongoose model, I...