26 template <
class T> T
get(
int idx)
const 35 template <
class... Ts> std::tuple<Ts...> get_columns(
typename convert<Ts>::to_int... idxs)
const 37 return std::make_tuple(
get(idxs, Ts())...);
40 void bind(
int idx,
const std::string &v,
bool copy =
true);
41 void bind(
const char *name,
const std::string &v,
bool copy =
true);
42 void bind(
int idx,
int v);
43 void bind(
const char *name,
int v);
51 std::string
get(
int idx, std::string)
const;
52 int get(
int idx, int)
const;
59 Database(
const std::string &filename,
int flags = SQLITE_OPEN_READONLY,
int timeout_ms = 0);
61 void execute(
const std::string &query);
62 void execute(
const char *query);
63 int get_user_version();
66 sqlite3 *db =
nullptr;
Definition: sqlite.hpp:55
Definition: sqlite.hpp:20
Definition: sqlite.hpp:31
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16