scottwrobinson / camo

A class-based ES6 ODM for Mongo-like databases.
556 stars 80 forks source link

nedb cross table support #68

Closed cdaringe closed 8 years ago

cdaringe commented 8 years ago

hello:

from the docs it's reported that camo supports nedb. i can do a test, but figured id ask first. because nedb is just a single store, how does camo handle cross model relationships if those relationships span multiple stores?

scottwrobinson commented 8 years ago

Camo creates a new NeDB Datastore for each table you create. If you're storing the data in files (as opposed to memory), then there will be a separate file for each table. Camo then handles the relationships of objects between these files.

Let me know if you have any other questions. Thanks!

cdaringe commented 8 years ago

awesome! that's what i was hoping for :)