Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Memory_Database.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2//
3// This code was automatically generated by the joedb compiler
4// https://www.joedb.org/
5//
6// Path to compiler: /home/rcoulom/repos/joedb/compcmake/gcc_debug/joedbc
7// Version: 10.2.1
8// joedbc compilation time: Sep 15 2025 20:22:33
9// Generation of this file: 2025-09-15 18:23:01 GMT
10//
11/////////////////////////////////////////////////////////////////////////////
12#ifndef tutorial_Memory_Database_declared
13#define tutorial_Memory_Database_declared
14
15#include "Writable_Database.h"
17
18namespace tutorial
19{
20 /// Shortcut to directly build a @ref Writable_Database with a Memory_File
22 {
23 public:
24 Memory_Database(): Writable_Database(*this, joedb::Recovery::none)
25 {
26 }
27
28 void pull()
29 {
30 journal.pull();
31 play_journal();
32 }
33 };
34}
35
36#endif
Shortcut to directly build a Writable_Database with a Memory_File.
A Database that contains a joedb::Writable_Journal and keeps them in sync.
Automatically generated by joedbc.
Definition Client.h:19