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.
Please login to continue.