OpenStructure
Public Member Functions | Friends
PreparedStatement Class Reference

#include <sqlite_wrap.hh>

Public Member Functions

 PreparedStatement ()
 ~PreparedStatement ()
sqlite3_stmt * Handle ()
bool Submit ()
void BindInt (int col, int value)
void BindInt64 (int col, sqlite3_int64 value)
void BindText (int col, const String &text)
void BindBlob (int col, const char *start, size_t size)

Friends

class Database

Detailed Description

Definition at line 44 of file sqlite_wrap.hh.


Constructor & Destructor Documentation


Member Function Documentation

void BindBlob ( int  col,
const char *  start,
size_t  size 
)
inline

bind binary blob to placeholder

Definition at line 76 of file sqlite_wrap.hh.

void BindInt ( int  col,
int  value 
)
inline

bind integer value to placeholder

Definition at line 60 of file sqlite_wrap.hh.

void BindInt64 ( int  col,
sqlite3_int64  value 
)
inline

bind 64 bit integer value to placeholder

Definition at line 65 of file sqlite_wrap.hh.

void BindText ( int  col,
const String text 
)
inline

bind String value to placeholder

Definition at line 70 of file sqlite_wrap.hh.

sqlite3_stmt* Handle ( )
inline

Definition at line 50 of file sqlite_wrap.hh.

bool Submit ( )
inline

submit query after binding all a parameters.

Definition at line 55 of file sqlite_wrap.hh.


Friends And Related Function Documentation

friend class Database
friend

Definition at line 45 of file sqlite_wrap.hh.


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