Public Member Functions | Private Attributes | Friends | List of all members
sql::connection Class Reference

#include <sql.h>

Public Member Functions

 connection (const char *filename)
 
void execute (const char *command) const
 
bool table_exists (const char *name) const
 
void transaction (std::function< void()> transaction) const
 

Private Attributes

connection_handle m_handle
 

Friends

class statement
 

Detailed Description

Definition at line 150 of file sql.h.

Constructor & Destructor Documentation

sql::connection::connection ( const char *  filename)
explicit

Definition at line 49 of file sql.cpp.

Member Function Documentation

void sql::connection::execute ( const char *  command) const

Definition at line 60 of file sql.cpp.

bool sql::connection::table_exists ( const char *  name) const

Definition at line 69 of file sql.cpp.

void sql::connection::transaction ( std::function< void()>  transaction) const

Definition at line 77 of file sql.cpp.

Friends And Related Function Documentation

friend class statement
friend

Definition at line 154 of file sql.h.

Member Data Documentation

connection_handle sql::connection::m_handle
private

Definition at line 152 of file sql.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43