Populate and shards

10 views
Skip to first unread message

Luka Obuljen

unread,
Aug 18, 2016, 3:31:47 AM8/18/16
to Mongoose Node.JS ODM
Hello everyone,

I'm quite new in MongoDB and NodeJS so I don't have experience in sharding part of it.
I know that I can add shared key in mongoose but how that works when I'm populating collections.  

For example, I have sharded collection 'Users" and I have another sharded collection "Items". Every item is having reference to one user.
How that will work with mongoose and populate? Is it even possible to work?

Thanks
Reply all
Reply to author
Forward
0 new messages