What is the best way to implement trigger functionality on insert and update operation in Mongodb?

579 Views Asked by At

I have created a sample CRUD java app using MongoDB. Now I want to write triggers on insert and update operation. I have written triggers on application level but I want RDBMS like trigger functionality in Mongo. What is the best way to achieve this as there is no default trigger functionality available in MongoDB. These are available options right now:tailable cursor, oplog and iddogino/mongo-trigger. Please suggest.

0

There are 0 best solutions below