--
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Archana,
As previously mentioned by Asya there is currently no support for triggers in MongoDB.
The only solution at present is to implement such functionality within your application code.
Please note that we have feature request SERVER-124 that is currently tracking this. Feel free to vote and/or add any requirements you may have.
Regards,
John Murphy
Another possiblity is to create an oplog listener that handles the trigger actions. The oplog contains events for all changes to the database, and is used to implement replication in replica sets.
Check this out for ideas
https://github.com/benjamine/mongo-listener
Note: this is not my project, nor have i used it, but i have used/built something simular in the past.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/901e7180-2929-437f-8028-6c791780cb06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.