How to use mongoose connections for Node.js

I am trying to figure out how to use mongoose-join for Node.js. I tried to look at the ReadMe file, it only explains how to configure it. Is there any code example for actually combining two datasets?

+5
source share
1 answer

Perhaps DBRefs provides you with sufficient functionality. They are standard in the current version of Mongoose (2.4.10 at the time of this writing).

With DBRef, you can specify another document and let Mongoose retrieve that document for you and “link” it to an instance of the current document.

, , - .

+3

All Articles