3

I am looking for a ODM module that can be used with Nedb in NodeJs-Express. Is it somehow possible to use Mongoose or Waterline schemas in combination with nedb for validation? Mongoose and Waterline do not provide an official adapter for nedb.

At the moment have very low requirements for performance and i am working on a project for the raspberry pi therefore i would like to stick with nedb (or similar file-based nosql database).

Community
  • 1
  • 1
Interfaced
  • 124
  • 3
  • 10

2 Answers2

6

Camo is an ODM for nedb and MongoDB, on Node.js.

ruffrey
  • 6,018
  • 3
  • 23
  • 19
2

I haven't been able to try it, but there is an adapter for Nedb for waterline that looks like it is dependent from building a Sails application.

It's available at: https://github.com/adityamukho/sails-nedb

EDIT: Sorry, I was incorrect, I was assuming this would work without sails, but I think this blog from the creator might prove that wrong

dannypaz
  • 1,294
  • 1
  • 12
  • 16