I am trying to figure out a way to process documents such that I can add documents until a certain count (say 100). Once that 100th document is inserted, Mongodb should fire an event so that I can read all 100 records and batch process them in JS.
I am new to mongodb and I am still doing a lot of research. Any ideas how I could achieve the above requirement?
CodePudding user response:
Check intro or change events structure or main docs