Here is what I need:
- Nodejs creates a trigger in sqlite db (using node-sqlite3 module)
- Trigger, well, gets triggered.
- Nodejs process gets notified of that.
Here is what I am exloring:
- Is it possible to supply a js callback when creating a trigger?
- If not, is there an event in nodejs that I can listen to?
- If not, can I use RAISE() in sqlite and catch it in nodejs?
- What other possibilities are there? Perhaps have sqlite write to a socket?
Any wise man out there to nudge me in a right direction?