query/src/sql/query_result.cpp

17 lines
350 B
C++

#include "matador/sql/query_result.hpp"
#include "matador/sql/record.hpp"
namespace matador::sql::detail {
template<>
record *create_prototype<record>(const std::vector<column_definition> &prototype)
{
auto result = std::make_unique<record>();
// for (const auto &col: prototype) {
// result->append({})
// }
return result.release();
}
}