Basically i'm developing an application in python where it listens to external sqlite database changes, so far i implemented update_hook()(from this example: SQLite Data Change Notification Callbacks in Python or Bash or CLI) it worked well when i launch SQL statements in the same process however when i use external database that has now relation with my process it doesn't work. My question is how do i listen to database changes from an external process(A) that has no relation with process(B).
Asked
Active
Viewed 1,597 times
1 Answers
0
SQLite has no mechanism by which another process can be notified.
You have to implement some communication mechanism outside of SQLite.

CL.
- 173,858
- 17
- 217
- 259
-
Like sockets for example ? – D.AhmedRafik Oct 13 '17 at 18:01