re: Using ES6 classes for Sequelize 4 models VIEW POST

VIEW FULL DISCUSSION

It's possible to do something like this with mongoose ?

From the docs you should be able to do schema.loadClass(MyModel), see mongoosejs.com/docs/4.x/docs/advan...

code of conduct - report abuse