Updated: 2022/Sep/29
Please read Privacy Policy. It's for your privacy.
SQLITE3_SNAPSHOT(3) Library Functions Manual SQLITE3_SNAPSHOT(3) NAME sqlite3_snapshot - database snapshot SYNOPSIS #include <sqlite3.h> typedef struct sqlite3_snapshot { unsigned char hidden[48]; } sqlite3_snapshot; DESCRIPTION An instance of the snapshot object records the state of a WAL mode database for some specific point in history. In WAL mode, multiple database connections that are open on the same database file can each be reading a different historical version of the database file. When a database connection begins a read transaction, that connection sees an unchanging copy of the database as it existed for the point in time when the transaction first started. Subsequent changes to the database from other connections are not seen by the reader until a new read transaction is started. The sqlite3_snapshot object records state information about an historical version of the database file so that it is possible to later open a new read transaction that sees that historical version of the database rather than the most recent version. IMPLEMENTATION NOTES These declarations were extracted from the interface documentation at line 10334. typedef struct sqlite3_snapshot { unsigned char hidden[48]; } sqlite3_snapshot; SEE ALSO sqlite3(3) NetBSD 10.99 August 24, 2023 NetBSD 10.99