implemented prepared statement for postgres and sqlite
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef QUERY_QUERY_CONTEXT_HPP
|
||||
#define QUERY_QUERY_CONTEXT_HPP
|
||||
|
||||
#include "matador/sql/record.hpp"
|
||||
|
||||
namespace matador::sql {
|
||||
|
||||
struct query_context
|
||||
{
|
||||
std::string sql;
|
||||
std::string command_name;
|
||||
std::string table_name;
|
||||
record prototype;
|
||||
std::vector<any_type> host_vars;
|
||||
std::vector<std::string> bind_vars;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif //QUERY_QUERY_CONTEXT_HPP
|
||||
Reference in New Issue
Block a user