49 void Writable_Database::play_journal()
53 ready_to_write =
false;
55 ready_to_write =
true;
60 void Writable_Database::auto_upgrade()
65 if (file_schema_size < detail::schema_string_size)
67 journal.
comment(
"Automatic schema upgrade");
86 Writable_Database::Writable_Database
90 bool perform_initialization
96 if (perform_initialization)
108 void Writable_Database::check_single_row()
int64_t get_size() const override
Get the size of the file, or -1 if it is unknown.
void append_until(Writable &writable, int64_t end)
void play_until_checkpoint(Writable &writable)
int64_t get_checkpoint() const
void skip_directly_to(int64_t position)
void timestamp(int64_t timestamp) final
void comment(const std::string &comment) final
container_of_person get_person_table() const
void comment(const std::string &comment) override
void timestamp(int64_t timestamp) override
joedb::Memory_File schema_file
container_of_city get_city_table() const
joedb::Writable_Journal schema_journal
A writable Database constructed from a writable joedb::Buffered_File.
void clear_person_table()
void write_comment(const std::string &comment)
void delete_city(id_of_city record)
void delete_person(id_of_person record)
Automatically generated by joedbc.