|
VSQLite++ 0.3
|
Thin RAII layer over the SQLite sessions/changeset extension. More...
#include <span>#include <string>#include <string_view>#include <vector>
Go to the source code of this file.
Classes | |
| struct | sqlite::v2::session_options |
| Configuration flags supplied when opening a new change session. More... | |
| struct | sqlite::v2::session |
| RAII wrapper around sqlite3_session. More... | |
Namespaces | |
| namespace | sqlite |
| namespace | sqlite::v2 |
Functions | |
| bool | sqlite::v2::sessions_supported () noexcept |
| Returns true when SQLite sessions API is available. | |
| void | sqlite::v2::apply_changeset (connection &con, std::span< const unsigned char > data) |
Applies a changeset produced by session::changeset onto con. | |
| void | sqlite::v2::apply_patchset (connection &con, std::span< const unsigned char > data) |
Applies a patchset produced by session::patchset onto con. | |
Thin RAII layer over the SQLite sessions/changeset extension.
Sessions capture row-level changes in memory so they can later be applied or merged across connections, which is useful for sync workflows and replicating WAL streams.
Definition in file session.hpp.