#include <BMysql.h>
|
| BMysql () |
|
| ~BMysql () |
|
BError | open (BString hostName, BString dataBase, BString userName, BString password) |
|
void | close () |
|
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) |
|
◆ BMysql()
◆ ~BMysql()
◆ close()
◆ db()
◆ del()
Delete record from table.
◆ escapeString()
Escapes special characters in the string.
◆ flush()
◆ get()
◆ insert()
◆ open()
◆ query()
◆ setDebug()
void BMysql::setDebug | ( | int | debug | ) | |
◆ update()
◆ odb
◆ odebug
◆ olock
◆ oopened
The documentation for this class was generated from the following files: