Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
meteor-ezpublish | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
Publish a collection once and let subscribers determine the details
Example:
// publish the entire Entries collection on the server; no defaults given
ezPublish(Entries);
// pass a filter when subscribing on the client
Meteor.subscribe(
'ez_entries',
{ project: { $in: ['apps', 'services'] } },
{ fields: { comment: 0 } }
);
Example 2:
// pass the defaults to the publication
ezPublish(
Entries,
{ project: { $in: ['apps', 'services'] } },
{ fields: { comment: 0 } }
);
// pass a filter when subscribing on the client
Meteor.subscribe('ez_entries');
// optionally overwrite the defaults
Meteor.subscribe(
'ez_entries',
{ project: { $in: ['games', 'publications'] } },
{ fields: { description: 0 } }
);
// return everything from the publication
Meteor.subscribe(
'ez_entries',
{ },
{ fields: { } }
);
// only update the fields
Meteor.subscribe(
'ez_entries',
null,
{ fields: { description: 0 } }
);