|
lintel 0.2.0
|
#include <Notify.h>
Public Member Functions | |
| Notify (Connection &connection, std::function< void()> functionCallBack, std::string tableName) | |
| ~Notify () | |
Listens for SQLite table changes via the update hook mechanism.
|
explicit |
Constructs a notify listener for table changes.
| connection | the SQLite connection |
| functionCallBack | the callback to invoke on change |
| tableName | the table name to watch |
| lintel::sqlite::Notify::~Notify | ( | ) |
Destructor, removes the update hook from the connection.