added session context and implemented the executor interface for session
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "matador/orm/session.hpp"
|
||||
|
||||
#include "matador/utils/message_bus.hpp"
|
||||
|
||||
#include "connection.hpp"
|
||||
|
||||
#include <stack>
|
||||
@@ -18,6 +20,7 @@ protected:
|
||||
sql::connection_pool pool;
|
||||
std::stack <std::string> tables_to_drop;
|
||||
orm::session ses;
|
||||
utils::message_bus bus;
|
||||
|
||||
private:
|
||||
void drop_table_if_exists(const std::string &table_name) const;
|
||||
|
||||
Reference in New Issue
Block a user