fixed schema creation
This commit is contained in:
@@ -23,7 +23,9 @@ enum class sql_command {
|
||||
SQL_DROP_TABLE,
|
||||
SQL_DROP_SCHEMA,
|
||||
SQL_DROP_DATABASE,
|
||||
SQL_ALTER_TABLE
|
||||
SQL_ALTER,
|
||||
SQL_ALTER_TABLE,
|
||||
SQL_ALTER_SCHEMA
|
||||
};
|
||||
|
||||
struct sql_command_info {
|
||||
@@ -38,14 +40,12 @@ struct query_context {
|
||||
std::string schema_name{};
|
||||
std::string table_name{};
|
||||
std::vector<object::attribute> prototype{};
|
||||
std::vector<std::string> result_vars{};
|
||||
// std::vector<std::string> result_vars{};
|
||||
std::vector<std::string> bind_vars{};
|
||||
std::vector<utils::database_type> bind_types{};
|
||||
|
||||
std::unordered_map<std::string, std::string> column_aliases{};
|
||||
std::unordered_map<std::string, std::string> table_aliases{};
|
||||
|
||||
std::vector<sql_command_info> additional_commands{};
|
||||
// std::unordered_map<std::string, std::string> column_aliases{};
|
||||
// std::unordered_map<std::string, std::string> table_aliases{};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user