this.added

Server

this.added(collection, id, fields)

Call inside the publish function. Informs the subscriber that a document has been added to the record set.

Arguments

collection String

The name of the collection that contains the new document.

id String

The new document's ID.

fields Object

The fields in the new document. If _id is present it is ignored.

doc_Meteor
2016-05-29 17:26:02
Comments
Leave a Comment

Please login to continue.