22 lines
450 B
C++
22 lines
450 B
C++
#ifndef QUERY_DATA_HPP
|
|
#define QUERY_DATA_HPP
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include "matador/object/attribute_definition.hpp"
|
|
#include "matador/sql/table.hpp"
|
|
|
|
#include "matador/query/query_part.hpp"
|
|
|
|
namespace matador::query {
|
|
struct query_data
|
|
{
|
|
std::vector<std::unique_ptr<query_part>> parts{};
|
|
std::vector<object::attribute_definition> columns{};
|
|
std::unordered_map<std::string, sql::table> tables{};
|
|
};
|
|
}
|
|
|
|
#endif //QUERY_DATA_HPP
|