Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
src_sql_kernel_qsqlresult_snippet.cpp
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
if
(
qstrcmp
(
v
.typeName(),
"PGresult*"
) == 0) {
6
PGresult
*
handle
= *
static_cast<
PGresult
**
>
(
v
.data());
7
if
(
handle
) {
8
// ...
9
}
10
}
11
12
if
(
qstrcmp
(
v
.typeName(),
"MYSQL_STMT*"
) == 0) {
13
MYSQL_STMT *
handle
= *
static_cast<
MYSQL_STMT **
>
(
v
.data());
14
if
(
handle
) {
15
// ...
16
}
17
}
qstrcmp
Q_CORE_EXPORT int qstrcmp(const char *str1, const char *str2)
v
GLsizei const GLfloat * v
[13]
Definition
qopengles2ext.h:788
handle
GLuint64 GLenum void * handle
Definition
qopengles2ext.h:1575
PGresult
struct pg_result PGresult
Definition
qsql_psql_p.h:27
qtbase
src
sql
doc
snippets
code
src_sql_kernel_qsqlresult_snippet.cpp
Generated by
1.9.7