Joedb 9.1.4
The Journal-Only Embedded Database
|
Shortcut to directly build a Writable_Database from a file name. More...
#include <settings/File_Database.h>
Additional Inherited Members | |
![]() | |
template<typename E = joedb::Exception> | |
static void | throw_exception (const std::string &message) |
static id_of_settings | null_settings () |
static constexpr id_of_settings | the_settings () |
![]() | |
size_t | max_record_id |
Table_Id | current_table_id = Table_Id{0} |
![]() | |
bool | is_valid_record_id_for_settings (Record_Id record_id) const |
void | internal_delete_settings (Record_Id record_id) |
void | internal_insert_settings (Record_Id record_id) |
void | internal_vector_insert_settings (Record_Id record_id, size_t size) |
void | internal_update_settings__dark_mode (Record_Id record_id, bool field_value_of_dark_mode) |
void | internal_update_vector_settings__dark_mode (Record_Id record_id, size_t size, const char *value) |
void | internal_update_settings__host (Record_Id record_id, const std::string &field_value_of_host) |
void | internal_update_vector_settings__host (Record_Id record_id, size_t size, const std::string *value) |
void | internal_update_settings__user (Record_Id record_id, const std::string &field_value_of_user) |
void | internal_update_vector_settings__user (Record_Id record_id, size_t size, const std::string *value) |
void | delete_from (Table_Id table_id, Record_Id record_id) final |
void | insert_into (Table_Id table_id, Record_Id record_id) final |
void | insert_vector (Table_Id table_id, Record_Id record_id, size_t size) final |
void | update_string (Table_Id table_id, Record_Id record_id, Field_Id field_id, const std::string &value) final |
void | update_boolean (Table_Id table_id, Record_Id record_id, Field_Id field_id, bool value) final |
void | update_vector_string (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const std::string *value) final |
void | update_vector_boolean (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t size, const char *value) final |
std::string * | get_own_string_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) final |
char * | get_own_boolean_storage (Table_Id table_id, Record_Id record_id, Field_Id field_id, size_t &capacity) final |
void | comment (const std::string &comment) override |
void | timestamp (int64_t timestamp) override |
void | valid_data () final |
bool | requires_schema_upgrade () const |
void | check_schema () |
void | drop_table (Table_Id table_id) final |
void | rename_table (Table_Id table_id, const std::string &name) final |
void | add_field (Table_Id table_id, const std::string &name, joedb::Type type) override |
void | drop_field (Table_Id table_id, Field_Id field_id) final |
void | rename_field (Table_Id table_id, Field_Id field_id, const std::string &name) final |
void | custom (const std::string &name) override |
![]() | |
detail::data_of_settings | storage_of_settings |
bool | upgrading_schema = false |
joedb::Memory_File | schema_file |
joedb::Writable_Journal | schema_journal |
Definition at line 35 of file File_Database.h.
|
inline |
Definition at line 40 of file File_Database.h.
|
inline |
Definition at line 52 of file File_Database.h.