sgoudie
sgoudie

Reputation: 300

A collection within a collection

I just wanted to query everyone's best practice for doing this.

How would you approach this? I'm using Simple Schema and Aldeed Collection. I imagine that each list within the notebook would be an array, but how would I make it that the user can set how many items / add new items to the list?

Interested to know people's thoughts!

Upvotes: 0

Views: 865

Answers (1)

Dan Dascalescu
Dan Dascalescu

Reputation: 152056

This is a MongoDB data modeling question primarily (see also schema design), but there are a few things to keep in mind with Meteor:

Make sure to vote up this card on the Meteor roadmap to get native reactive joins.

Upvotes: 2

Related Questions