12#ifndef joedb_db_encoded_file_Readonly_Client_declared
13#define joedb_db_encoded_file_Readonly_Client_declared
25 int64_t schema_checkpoint;
31 if (db.get_schema_checkpoint() > schema_checkpoint)
44 db.initialize_with_readonly_journal(*
this);
45 schema_checkpoint = db.get_schema_checkpoint();
Specialized client for read-only files.
int64_t pull(std::chrono::milliseconds wait=std::chrono::milliseconds(0)) override
void play_until_checkpoint(Writable &writable)
implement joedb::Writable in a Database
Store all the tables of the database.
static void throw_exception(std::string_view message)
void read_journal() override
Readonly_Client(joedb::Abstract_File &file)
const Database & get_database() const
Automatically generated by joedbc.