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

◆ PreparedStatement()

◆ ~PreparedStatement()

Member Function Documentation

◆ BindBlob()

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.

◆ BindInt()

void BindInt ( int  col,
int  value 
)
inline

bind integer value to placeholder

Definition at line 60 of file sqlite_wrap.hh.

◆ BindInt64()

void BindInt64 ( int  col,
sqlite3_int64  value 
)
inline

bind 64 bit integer value to placeholder

Definition at line 65 of file sqlite_wrap.hh.

◆ BindText()

void BindText ( int  col,
const String text 
)
inline

bind String value to placeholder

Definition at line 70 of file sqlite_wrap.hh.

◆ Handle()

sqlite3_stmt* Handle ( )
inline

Definition at line 50 of file sqlite_wrap.hh.

◆ Submit()

bool Submit ( )
inline

submit query after binding all a parameters.

Definition at line 55 of file sqlite_wrap.hh.

Friends And Related Function Documentation

◆ Database

friend class Database
friend

Definition at line 45 of file sqlite_wrap.hh.


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