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

#include <sqlite.hh>

Public Member Functions

 SQLite (const Path &path, SQLiteOpenMode mode=SQLiteOpenMode::Normal)
 
 SQLite (const SQLite &from)=delete
 
SQLiteoperator= (const SQLite &from)=delete
 
SQLiteoperator= (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: