17if (
v.isValid() && (
qstrcmp(
v.typeName(),
"sqlite3*") == 0)) {
19 sqlite3 *
handle = *
static_cast<sqlite3 **
>(
v.data());
27if (
qstrcmp(
v.typeName(),
"PGconn*") == 0) {
34if (
qstrcmp(
v.typeName(),
"MYSQL*") == 0) {
35 MYSQL *
handle = *
static_cast<MYSQL **
>(
v.data());
The QSqlDatabase class handles a connection to a database.
static QSqlDatabase database(const QString &connectionName=QLatin1StringView(defaultConnection), bool open=true)
\threadsafe
Q_CORE_EXPORT int qstrcmp(const char *str1, const char *str2)
GLsizei const GLfloat * v
[13]
GLuint64 GLenum void * handle