S
S
Sergey Prishchenko2018-08-28 18:47:27
NoSQL
Sergey Prishchenko, 2018-08-28 18:47:27

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

2 answer(s)
F
forspamonly2, 2018-08-30
@jonkofee

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.

T
TheLostRoot, 2018-08-28
@TheLostRoot

In SQL DBMS, this is called triggers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question