Allow fields to have arrays of associated items. #3

Merged
merged 1 commit into from Mar 26, 2013

Conversation

Projects
None yet
2 participants
Contributor

tmeasday commented Mar 26, 2013

Allow you do do things like

  Meteor.publishWithRelations({
    handle: this,
    collection: Loops,
    mappings: [{
      collection: Profiles,
      key: 'profileIds'
    }]
  }

Where a loop looks like:

{_id: 'abcd', profileIds: ['xcvb', 'cvbb']}
Owner

svasva commented Mar 26, 2013

Merging right away. Thanks Tom!

@svasva svasva added a commit that referenced this pull request Mar 26, 2013

@svasva svasva Merge pull request #3 from tmeasday/allow-arrays
Allow fields to have arrays of associated items.
3637357

@svasva svasva merged commit 3637357 into svasva:master Mar 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment