lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::sqlite::Notify Class Reference

#include <Notify.h>

Public Member Functions

 Notify (Connection &connection, std::function< void()> functionCallBack, std::string tableName)
 
 ~Notify ()
 

Detailed Description

Listens for SQLite table changes via the update hook mechanism.

Constructor & Destructor Documentation

◆ Notify()

lintel::sqlite::Notify::Notify ( Connection &  connection,
std::function< void()>  functionCallBack,
std::string  tableName 
)
explicit

Constructs a notify listener for table changes.

Parameters
connectionthe SQLite connection
functionCallBackthe callback to invoke on change
tableNamethe table name to watch

◆ ~Notify()

lintel::sqlite::Notify::~Notify ( )

Destructor, removes the update hook from the connection.


The documentation for this class was generated from the following file: