Table of Contents generated with DocToc
- made
refreshAll()
usefilter()
(if defined)
- quickfix for 0.0.9 which crashed in production due to wrong use of
Package.onUse()
- made
refreshAll()
callpostHook()
(if defined) - fix to add files ONLY to server
- Added
getView()
as an easy way to get an existing configuration
- added
filter(doc)
-option (optional) toDenormalizedViews.addView
, which can be used to only create a doc in the "view"-collection, if it passes a filter (meaning if the function returnstrue
). - added
postHook
-option (optional) toDenormalizedViews.addView
, which you can pass a function that will be called after a successfull insert-/update-/remove- of the "view"-collection.
- Enhanced
refreshByCollection.refreshIds
to pass previousDoc as a parameter. In a lot of useCases this is needed to get all affected _ids - throw
Meteor.Error
instead of pureError
- when
sync
- orpostSync
functions return0
or[]
the property will now be stored in the doc - added more tests