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 |
| MSqlDatabase Info, used by MSqlQuery. Do not use directly. | |
| typedef QMap< QString, QVariant > | MSqlBindings |
| typedef for a map of string -> string bindings for generic queries. | |
Functions | |
| MBASE_PUBLIC bool | TestDatabase (QString dbHostName, QString dbUserName, QString dbPassword, QString dbName="mythconverg", int dbPort=3306) |
| MBASE_PUBLIC void | MSqlAddMoreBindings (MSqlBindings &output, MSqlBindings &addfrom) |
| Add the entries in addfrom to the map in output. | |
| MBASE_PUBLIC void | MSqlEscapeAsAQuery (QString &query, MSqlBindings &bindings) |
| Given a partial query string and a bindings object, escape the string. | |
| typedef struct _MSqlQueryInfo MSqlQueryInfo |
MSqlDatabase Info, used by MSqlQuery. Do not use directly.
| typedef QMap<QString, QVariant> MSqlBindings |
typedef for a map of string -> string bindings for generic queries.
Definition at line 100 of file mythdbcon.h.
| MBASE_PUBLIC bool TestDatabase | ( | QString | dbHostName, | |
| QString | dbUserName, | |||
| QString | dbPassword, | |||
| QString | dbName = "mythconverg", |
|||
| int | dbPort = 3306 | |||
| ) |
Definition at line 31 of file mythdbcon.cpp.
Referenced by Myth::TestDBSettings().
| MBASE_PUBLIC void MSqlAddMoreBindings | ( | MSqlBindings & | output, | |
| MSqlBindings & | addfrom | |||
| ) |
Add the entries in addfrom to the map in output.
Definition at line 925 of file mythdbcon.cpp.
Referenced by ProgLister::FillItemList().
| MBASE_PUBLIC void MSqlEscapeAsAQuery | ( | QString & | query, | |
| MSqlBindings & | bindings | |||
| ) |
Given a partial query string and a bindings object, escape the string.
Definition at line 946 of file mythdbcon.cpp.
Referenced by PowerSearchPopup::recordClicked(), and PhrasePopup::recordClicked().
1.6.3