We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, i have a question on promisification. Following the API docs is written that i can promisify Mongoose with just:
var mongoose = require( 'mongoose' ); Promise.promisifyAll( mongoose );
But then when i try to save a document my promise hang there.
var user = new User( { username: 'username' } ); user .saveAsync() .then( function() { debug( 'user saved' ); // Never gets called });
I also checked yamadapc/mongoose-bluebird-utils#1 but with no luck. Any seggestion on how to use bluebird with Mongoose.
The text was updated successfully, but these errors were encountered:
Sorry it was my fault. I was doing something wrong with the Mongoose connection and model instances.
See Automattic/mongoose#2157 for details about my connection problem.
Sorry, something went wrong.
No branches or pull requests
Hello,
i have a question on promisification. Following the API docs is written that i can promisify Mongoose with just:
But then when i try to save a document my promise hang there.
I also checked yamadapc/mongoose-bluebird-utils#1 but with no luck. Any seggestion on how to use bluebird with Mongoose.
The text was updated successfully, but these errors were encountered: