Mongoose Alternative?
19,657
Solution 1
Disclosure: I'm the creator of Camo.
I'd suggest Camo, which is a class-based ES6 ODM for Mongo.
Some features:
- ES6 based (classes, promises, generators/iterators, etc)
- Supports NeDB, which is the SQLite-equivalent for Mongo
- Simple schema inheritance
Solution 2
You can also try waterline, which has been seeing a lot of development lately. Make sure you use the MongoDb adapter.
Related videos on Youtube
Author by
CallumVass
Updated on September 15, 2022Comments
-
CallumVass about 1 year
Is there a Mongoose alternative for MongoDB as when I use it in WebMatrix 2, it seems to cause it to crash all the time, but I really like the idea of mongoose, so is there an alternative around?
-
Travis Webb over 8 yearswaterline and sails.js +1
-
Matthew Adams over 6 yearsIs Camo a dead project? Not seeing much activity in 2017, @srobinson...
-
srobinson over 6 years@MatthewAdams you're right that there hasn't been much activity. I just haven't had the time. Looking to find someone to help maintain, which I'll be updating the README to advertise this soon
-
Matthew Adams over 6 yearsThanks for letting everyone know!
-
Ankur Shah over 5 yearsIn waterline, one cannot make use of nested fields, you can only assign an id as a foreign key from another collection document ! it is that difference which pained me a lot ! The style of waterline is more of table based database like mysql !