lintel 0.2.0
Loading...
Searching...
No Matches
Notify.h
Go to the documentation of this file.
1#ifndef LINTEL_NOTIFY_H
2#define LINTEL_NOTIFY_H
3
4#include <memory>
5
6#include "Connection.h"
9
10namespace lintel {
11namespace db {
16 class Notify
17 {
18 private:
19 Connection &m_connection;
20 std::unique_ptr<sqlite::Notify> m_notifySqlite = nullptr;
21 std::unique_ptr<postgresql::Notify> m_notifyPostgresql = nullptr;
22
23 public:
30 explicit Notify(Connection &connection, std::function<void()> functionCallBack, const std::string &tableName);
31 };
32}// namespace db
33
34}// namespace lintel
35#endif// LINTEL_NOTIFY_H
Definition Connection.h:25
Definition Notify.h:17
Notify(Connection &connection, std::function< void()> functionCallBack, const std::string &tableName)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9