12#ifndef settings_Readonly_Client_declared
13#define settings_Readonly_Client_declared
25 int64_t schema_checkpoint;
30 Readonly_Journal::play_until_checkpoint(db);
31 if (db.get_schema_checkpoint() > schema_checkpoint)
40 joedb::Connection::dummy,
41 joedb::Content_Check::none
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
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
const Database & get_database() const
Readonly_Client(joedb::Abstract_File &file)
Automatically generated by joedbc.