1#ifndef joedb_Compiler_Options_declared
2#define joedb_Compiler_Options_declared
69 for (
auto &[field_id, field_name]:
db.
get_fields(table_id))
77 for (
const auto &index:
indices)
86 if (options.second.single_row)
103 indices.emplace_back(std::move(index));
std::map< Table_Id, Table_Options > table_options
std::vector< std::string > custom_names
const std::string & get_name_space_back() const
void add_index(Index index)
std::vector< std::string > name_space
const std::vector< std::string > & get_custom_names() const
std::vector< Index > indices
const std::vector< std::string > & get_name_space() const
void set_single_row(Table_Id table_id, bool value)
void set_name_space(std::vector< std::string > v)
bool has_unique_index() const
const std::vector< Index > & get_indices() const
bool has_single_row() const
const Table_Options & get_table_options(Table_Id table_id) const
const Database & get_db() const
const std::map< Table_Id, std::string > & get_tables() const override
const Type & get_field_type(Table_Id table_id, Field_Id field_id) const override
const std::map< Field_Id, std::string > & get_fields(Table_Id table_id) const override
Type_Id get_type_id() const
bool is_trigger(const Table_Id tid, const Field_Id fid) const
std::vector< Field_Id > field_ids