Answer the question
In order to leave comments, you need to log in
What are the databases with hooks?
One feature I really liked about MongoDB was . You can set the lifetime of a document
. I'm interested in the following question: is it possible to somehow subscribe to this deletion and execute some code (for example, send an email notification)? Or maybe there is another database where it can be done?
Answer the question
In order to leave comments, you need to log in
fresh mongo has Change Streams
https://docs.mongodb.com/manual/changeStreams/
and there are actually a lot of other subds that allow you to subscribe to events from the outside. at least postgress, oracle, ms sql, rethinkdb have some ways.
By the way, for the last two, you can directly subscribe to a change in the selection on request.
for sure, other subds also have something.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question