#include <BMysql.h>
List of all members.
Public Member Functions |
| BMysql () |
| ~BMysql () |
BError | open (BString hostName, BString dataBase, BString userName, BString password) |
BError | get (BString table, BString where, BDictString &fields) |
BError | insert (BString table, BDictString fields, BUInt32 *id=0) |
BError | update (BString table, BUInt32 id, BDictString fields) |
BError | del (BString table, BUInt32 id) |
| Delete record from table.
|
BError | flush () |
| Flush all data to disk.
|
BString | escapeString (BString str) |
| Escapes special characters in the string.
|
BError | query (BString cmd, BList< BDictString > &result) |
MYSQL & | db () |
void | setDebug (int debug) |
Private Attributes |
MYSQL | odb |
int | oopened |
int | odebug |
BMutex | olock |
Constructor & Destructor Documentation
Member Function Documentation
Delete record from table.
Escapes special characters in the string.
void BMysql::setDebug |
( |
int |
debug | ) |
|
Member Data Documentation
The documentation for this class was generated from the following files: