-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
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
Don't working with Mongoose version upper than 4.7.9 #18
Comments
I have tests passing with version 4.9.6 |
https://github.com/sergey-zero/example |
I'll have a look soon. |
Starting from const testSchema = new mongoose.Schema({
test: String,
order_id: Number
});
// The plugin
testSchema.plugin(sequence, {inc_field: 'order_id'});
// And then the model
const Test = mongoose.model('Test',testSchema); it should work. Let me know |
Wow, you are GOD, it's really works. Thank you so much!! |
Don't working with Mongoose version upper than 4.7.9
Nodejs v7.7.3
The text was updated successfully, but these errors were encountered: