#include <sqlite.hh>
Public Member Functions | |
Use & | operator() (std::string_view value, bool notNull=true) |
Use & | operator() (const unsigned char *data, size_t len, bool notNull=true) |
Use & | operator() (int64_t value, bool notNull=true) |
Use & | bind () |
int | step () |
void | exec () |
bool | next () |
std::string | getStr (int col) |
int64_t | getInt (int col) |
bool | isNull (int col) |
Friends | |
struct | SQLiteStmt |
Helper for binding / executing statements.
void nix::SQLiteStmt::Use::exec | ( | ) |
Execute a statement that does not return rows.
bool nix::SQLiteStmt::Use::next | ( | ) |
For statements that return 0 or more rows. Returns true iff a row is available.
SQLiteStmt::Use & nix::SQLiteStmt::Use::operator() | ( | std::string_view | value, |
bool | notNull = true ) |
Bind the next parameter.