You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently it does not recognize the methods implemented with "Bluebird", what could be done?
var LinvoDB = require("linvodb3");
var Promise = require("bluebird");
Promise.promisifyAll(LinvoDB);
.
var userModel = new LinvoDB('user', User, options)
.
Apparently it does not recognize the methods implemented with "Bluebird", what could be done?
var LinvoDB = require("linvodb3");
var Promise = require("bluebird");
Promise.promisifyAll(LinvoDB);
.
var userModel = new LinvoDB('user', User, options)
.
.
userModel.findAsync({}).then(function(docs) {
// use docs somehow
}).catch(function(err) {
// handle errors
});
The text was updated successfully, but these errors were encountered: