|
lintel 0.2.0
|
#include <Notify.h>
Public Member Functions | |
| Notify (Connection &connection, std::function< void()> functionCallBack, const std::string &tableName) | |
Unified database notification listener wrapping PostgreSQL LISTEN/NOTIFY or SQLite update hooks.
|
explicit |
Constructs a notification listener.
| connection | the database connection |
| functionCallBack | callback invoked when a notification is received |
| tableName | the table to watch for changes |