mythdbcon.h File Reference

Go to the source code of this file.

Classes

class  MSqlDatabase
 QSqlDatabase wrapper, used by MSqlQuery. Do not use directly. More...
class  MDBManager
 DB connection pool, used by MSqlQuery. Do not use directly. More...
struct  _MSqlQueryInfo
 MSqlDatabase Info, used by MSqlQuery. Do not use directly. More...
class  MSqlQuery
 QSqlQuery wrapper that fetches a DB connection from the connection pool. More...

Typedefs

typedef struct _MSqlQueryInfo MSqlQueryInfo
typedef QMap< QString, QVariant > MSqlBindings
 typedef for a map of string -> string bindings for generic queries.

Functions

MPUBLIC void MSqlAddMoreBindings (MSqlBindings &output, MSqlBindings &addfrom)
 Add the entries in addfrom to the map in output.
MPUBLIC void MSqlEscapeAsAQuery (QString &query, MSqlBindings &bindings)
 Given a partial query string and a bindings object, escape the string.


Typedef Documentation

typedef struct _MSqlQueryInfo MSqlQueryInfo

typedef QMap<QString, QVariant> MSqlBindings

typedef for a map of string -> string bindings for generic queries.

Definition at line 72 of file mythdbcon.h.


Function Documentation

MPUBLIC void MSqlAddMoreBindings ( MSqlBindings output,
MSqlBindings addfrom 
)

Add the entries in addfrom to the map in output.

Definition at line 452 of file mythdbcon.cpp.

Referenced by ProgLister::fillItemList().

MPUBLIC void MSqlEscapeAsAQuery ( QString &  query,
MSqlBindings bindings 
)

Given a partial query string and a bindings object, escape the string.

Definition at line 469 of file mythdbcon.cpp.

Referenced by ProgLister::addSearchRecord().


Generated on Sat Dec 18 05:15:54 2010 for MythTV by  doxygen 1.5.5