mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-01 15:09:46 -06:00
22 lines
354 B
C++
22 lines
354 B
C++
#ifndef SQLGEN_DYNAMIC_CREATETABLE_HPP_
|
|
#define SQLGEN_DYNAMIC_CREATETABLE_HPP_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "Column.hpp"
|
|
#include "Table.hpp"
|
|
|
|
namespace sqlgen::dynamic {
|
|
|
|
struct CreateTable {
|
|
Table table;
|
|
std::vector<Column> columns;
|
|
bool if_not_exists = true;
|
|
// TODO: Constraints
|
|
};
|
|
|
|
} // namespace sqlgen::dynamic
|
|
|
|
#endif
|