开发者

Can an application be notified when another app writes to an sqlite database?

开发者 https://www.devze.com 2023-04-06 16:43 出处:网络
I have two linux apps. One app writes data to an sqlite3 database at开发者_JS百科 fairly random intervals.

I have two linux apps.

One app writes data to an sqlite3 database at开发者_JS百科 fairly random intervals.

The other app must process the data that's been added.

Is there any feature of sqlite3 that facilitates the second app being notified when the first app has written to the database?


Perhaps you want a data change notification callback.


You could also use a file-system listener and take this out of SQLite's hands.

0

精彩评论

暂无评论...
验证码 换一张
取 消