Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::SQLite Struct Reference

#include <sqlite.hh>

Public Types

using Settings = SQLiteSettings

Public Member Functions

 SQLite (const std::filesystem::path &path, Settings &&settings)
 SQLite (const SQLite &from)=delete
SQLite & operator= (const SQLite &from)=delete
SQLite & operator= (SQLite &&from) noexcept
 operator sqlite3 * ()
void isCache ()
void exec (const std::string &stmt)
uint64_t getLastInsertedRowId ()

Public Attributes

sqlite3 * db = 0

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 struct was generated from the following files:
  • libstore/include/nix/store/sqlite.hh
  • libstore/sqlite.cc