this.changed

Server

this.changed(collection, id, fields)

Call inside the publish function. Informs the subscriber that a document in the record set has been modified.

Arguments

collection String

The name of the collection that contains the changed document.

id String

The changed document's ID.

fields Object

The fields in the document that have changed, together with their new values. If a field is not present in fields it was left unchanged; if it is present in fields and has a value of undefined it was removed from the document. If _id is present it is ignored.

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

Please login to continue.