DSL
Public Member Functions | List of all members
DB_MySQL Class Reference
Inheritance diagram for DB_MySQL:
Inheritance graph
[legend]
Collaboration diagram for DB_MySQL:
Collaboration graph
[legend]

Public Member Functions

bool Connect (const string &host, const string &user, const string &pass, const string &dbname, uint16_t port=0, const string &charset="")
 
bool Connect ()
 
void Disconnect ()
 
bool Ping ()
 
string GetErrorString ()
 
unsigned int GetError ()
 
bool NoResultQuery (const string &query)
 
MYSQL_RES * Query (const string &query)
 
uint64_t NumRows (MYSQL_RES *result)
 
bool FetchRow (MYSQL_RES *result, SC_Row &retRow)
 
bool FreeResult (MYSQL_RES *result)
 
uint32_t InsertID ()
 
uint64_t InsertID64 ()
 
uint64_t AffectedRows ()
 
uint32_t GetQueryCount ()
 
string EscapeString (const string &str)
 
MYSQL * GetHandle ()
 
SQLConxMultiMultiStart ()
 
bool MultiSend (SQLConxMulti *)
 
bool MultiEnd (SQLConxMulti *)
 
- Public Member Functions inherited from SQLConx
void SetOutput (sql_printf_type pprintf=NULL)
 

Additional Inherited Members

- Public Types inherited from SQLConx
typedef int(* sql_printf_type) (const char *fmt,...)
 
- Protected Attributes inherited from SQLConx
sql_printf_type sql_printf = NULL
 

Detailed Description

Definition at line 30 of file DB_MySQL.h.


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