How does server know MonogDB collection update?

I connect an external MongoDB and the data in the collection can be updated all the time(but not by client).And I want server tells the client a field in a certain document in the collection has been updated.
But how does server know documents in the collections have been updated ?

In Meteor, the MongoDB oplog is watched and any changes are reflected through minimongo.

1 Like