Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::sql::sqlite::LiteDb Class Reference
#include <LiteTable.h>
Inheritance diagram for acdk::sql::sqlite::LiteDb:
List of all members.
Detailed Description
thin wrapper to the SQLite3 database
Constructor & Destructor Documentation
acdk::sql::sqlite::LiteDb::LiteDb |
( |
sqlite3 * |
con |
) |
|
|
Member Function Documentation
void acdk::sql::sqlite::LiteDb::_checkOpenDb |
( |
|
) |
|
|
int acdk::sql::sqlite::LiteDb::changes |
( |
|
) |
|
|
void acdk::sql::sqlite::LiteDb::checkLastResult |
( |
sqlite3 * |
con |
) |
[static] |
|
|
internal helper to check calls to the C api
|
void acdk::sql::sqlite::LiteDb::checkLastResult |
( |
|
) |
[inline] |
|
|
only call this if a prior call failed
|
int acdk::sql::sqlite::LiteDb::checkResult |
( |
sqlite3 * |
con, |
|
|
int |
result |
|
) |
[static] |
|
|
internal helper to check calls to the C api
|
int acdk::sql::sqlite::LiteDb::checkResult |
( |
int |
result |
) |
[inline] |
|
|
internal helper to check calls to the C api
|
void acdk::sql::sqlite::LiteDb::closeDb |
( |
|
) |
|
|
|
this creates a function can be used inside an SQL Statement.
It is similar to stored procedure, but the function itself is not stored within the database, but provided by the application |
|
execute a sql command on a LiteDB The complete result set will be hold in memory
|
|
executes a SQL command an calles the delegate for each record set The arguments passed to the delegate are: - LiteDb __db - all fields as String of one record.
- The delete should return an int. if the return value is != 0 no more records will be fetched. See also samples in acdk_sql_sqlite.
|
void acdk::sql::sqlite::LiteDb::execute |
( |
IN(RString) |
sql |
) |
|
|
int acdk::sql::sqlite::LiteDb::executeUpdate |
( |
IN(RString) |
cmd |
) |
|
|
|
execute update, return the number of changes
|
sqlite3* acdk::sql::sqlite::LiteDb::getConPtr |
( |
|
) |
[inline] |
|
RString acdk::sql::sqlite::LiteDb::getVersion |
( |
|
) |
[static] |
|
|
return the version string of the sqlite3 c library
|
bool acdk::sql::sqlite::LiteDb::isClosed |
( |
|
) |
[inline] |
|
RLiteDb acdk::sql::sqlite::LiteDb::openDb |
( |
IN(RString) |
fileName |
) |
[static] |
|
|
creates a prepared statement
|
Member Data Documentation