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

#include <sqlite.hh>

Public Member Functions

Useoperator() (std::string_view value, bool notNull=true)
 
Useoperator() (const unsigned char *data, size_t len, bool notNull=true)
 
Useoperator() (int64_t value, bool notNull=true)
 
Usebind ()
 
int step ()
 
void exec ()
 
bool next ()
 
std::string getStr (int col)
 
int64_t getInt (int col)
 
bool isNull (int col)
 

Friends

struct SQLiteStmt
 

Detailed Description

Helper for binding / executing statements.

Member Function Documentation

◆ exec()

void nix::SQLiteStmt::Use::exec ( )

Execute a statement that does not return rows.

◆ next()

bool nix::SQLiteStmt::Use::next ( )

For statements that return 0 or more rows. Returns true iff a row is available.

◆ operator()()

SQLiteStmt::Use & nix::SQLiteStmt::Use::operator() ( std::string_view value,
bool notNull = true )

Bind the next parameter.


The documentation for this class was generated from the following files: