— Why can't you check the count of documents?
— Actually Ui has specific applicant list table and I have to check if any new applicant has been added Print something
Message permanent page
— I want to check within specific interval of time if count has increase print hello world
— Have you triend Change Streams option in mongodb
— Which is available in version 3.6 of mongo
—
from pymongo import MongoClient
db = MongoClient().dbname
cursor = db.collection.watch()
— Above like line code can be used for change stream
— To retrieve the data change event notifications, iterate the change stream cursor