41 other.m_handle = T::invalid();
53 typename T::ptr
get()
const {
return m_handle; }
58 if (m_handle != T::invalid())
61 m_handle = T::invalid();
80 int get_int(
int column = 0)
const;
81 double get_double(
int column = 0)
const;
83 std::vector<uint8_t> get_blob(
int column = 0)
const;
88 void bind(
int param,
const std::vector<uint8_t>&
value)
const;
114 void assert_good()
const;
137 m_end = !m_owner->
step();
158 void execute(
const char *
command)
const;
160 bool table_exists(
const char*
name)
const;
162 void transaction(std::function<
void()> transaction)
const;
const char * get_string(rs2_rs400_visual_preset value)
GLuint const GLchar * name
iterator(statement *owner)
double get_double() const
row_value(statement *owner, bool bad)
ImVec4 operator*(const ImVec4 &color, float t)
sql::statement::iterator end(sql::statement &stmt)
GLenum GLenum GLsizei void GLsizei void * column
GLsizei const GLchar *const * string
std::vector< uint8_t > get_blob(int column=0) const
std::string get_string(int column=0) const
static auto invalid() -> ptr
bool operator!=(const iterator &other)
scoped_handle(scoped_handle &&other)
struct sqlite3_stmt sqlite3_stmt
sql::statement::iterator begin(sql::statement &stmt)
static void close(ptr value)
column_value operator[](int column) const
statement_handle m_handle
void swap(nlohmann::json &j1, nlohmann::json &j2) noexcept(is_nothrow_move_constructible< nlohmann::json >::value andis_nothrow_move_assignable< nlohmann::json >::value)
exchanges the values of two JSON objects
scoped_handle & operator=(scoped_handle other)
void swap(scoped_handle &other)
connection_handle m_handle
static auto invalid() -> ptr
std::vector< uint8_t > get_blob() const
std::string get_string() const
double get_double(int column=0) const
int get_int(int column=0) const
column_value(statement *owner, int column)