Is there any qt signal for sql database change?

后端 未结 2 805
死守一世寂寞
死守一世寂寞 2020-12-16 06:57

I wrote a C++ program using Qt. some variables inside my algorithm are changed outside of my program and in a web page. every time the user changes the variable values in th

2条回答
  •  -上瘾入骨i
    2020-12-16 07:25

    There is no such thing. The Qt event loop and the database are not connected in any way. You only fetch/alter/delete/insert/... data and that's it. Option 1 is the one you have to do. There are ways to use TRIGGER on the server side to launch external scripts but this would not help you very much.

提交回复
热议问题