28 lines
806 B
C++
28 lines
806 B
C++
#ifndef QUERY_CREATE_INTERMEDIATE_HPP
|
|
#define QUERY_CREATE_INTERMEDIATE_HPP
|
|
|
|
#include "matador/query/intermediates/query_intermediate.hpp"
|
|
|
|
#include "matador/query/intermediates/executable_query.hpp"
|
|
|
|
namespace matador::query {
|
|
|
|
class query_create_intermediate : public query_intermediate
|
|
{
|
|
public:
|
|
query_create_intermediate();
|
|
|
|
executable_query table(const sql::table &table, std::initializer_list<object::attribute_definition> columns);
|
|
executable_query table(const sql::table &table, const std::vector<object::attribute_definition> &columns);
|
|
// template<class Type>
|
|
// executable_query table(const sql::table &table, const sql::schema &schema)
|
|
// {
|
|
// return this->table(table, column_definition_generator::generate<Type>(schema));
|
|
// }
|
|
};
|
|
|
|
}
|
|
|
|
|
|
#endif //QUERY_CREATE_INTERMEDIATE_HPP
|