herteby:denormalize

v0.1.0Published 5 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

denormalize

Simple denormalization for Meteor

meteor add herteby:denormalize

API

1ParentCollection.cache({
2	type:'single',
3	collection:ChildCollection,
4	fields:['name','title'],
5	referenceField:'childId',
6	cacheField:'_cache'
7})