Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::SQLite Class Reference

#include <sqlite.hh>

Public Member Functions

 SQLite (const Path &path, SQLiteOpenMode mode=SQLiteOpenMode::Normal)
void isCache ()
void exec (const std::string &stmt, NeverAsync={})
SQLiteStmt create (const std::string &stmt)
SQLiteTxn beginTransaction (SQLiteTxnType type=SQLiteTxnType::Deferred)
void setPersistWAL (bool persist)
uint64_t getLastInsertedRowId ()
uint64_t getRowsChanged ()

Detailed Description

RAII wrapper to close a SQLite database automatically.

Member Function Documentation

◆ isCache()

void nix::SQLite::isCache ( )

Disable synchronous mode, set truncate journal mode.


The documentation for this class was generated from the following files:
  • lix/libstore/sqlite.hh
  • lix/libstore/sqlite.cc