22 lines
391 B
C++
22 lines
391 B
C++
#ifndef QUERY_QUERY_CONTEXT_HPP
|
|
#define QUERY_QUERY_CONTEXT_HPP
|
|
|
|
#include "matador/sql/record.hpp"
|
|
#include "matador/sql/table.hpp"
|
|
|
|
namespace matador::sql {
|
|
|
|
struct query_context
|
|
{
|
|
std::string sql;
|
|
std::string command_name;
|
|
sql::table table{""};
|
|
record prototype;
|
|
std::vector<std::string> result_vars;
|
|
std::vector<std::string> bind_vars;
|
|
};
|
|
|
|
}
|
|
|
|
#endif //QUERY_QUERY_CONTEXT_HPP
|