Horizon
Classes | Public Member Functions | List of all members
horizon::SQLite::Query Class Reference
Inheritance diagram for horizon::SQLite::Query:
horizon::SQLite::noncopyable

Classes

struct  convert
 

Public Member Functions

 Query (class Database &d, const std::string &sql)
 
 Query (class Database &d, const char *sql, int size=-1)
 
bool step ()
 
template<class T >
get (int idx) const
 
template<class... Ts>
std::tuple< Ts... > get_columns (typename convert< Ts >::to_int... idxs) const
 
void bind (int idx, const std::string &v, bool copy=true)
 
void bind (const char *name, const std::string &v, bool copy=true)
 
void bind (int idx, int v)
 
void bind (const char *name, int v)
 
void bind (int idx, const horizon::UUID &v)
 
void bind (const char *name, const horizon::UUID &v)
 
void reset ()
 

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