Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
5if (qstrcmp(v.typeName(), "PGresult*") == 0) {
6 PGresult *handle = *static_cast<PGresult **>(v.data());
7 if (handle) {
8 // ...
9 }
10}
11
12if (qstrcmp(v.typeName(), "MYSQL_STMT*") == 0) {
13 MYSQL_STMT *handle = *static_cast<MYSQL_STMT **>(v.data());
14 if (handle) {
15 // ...
16 }
17 }
Q_CORE_EXPORT int qstrcmp(const char *str1, const char *str2)
GLsizei const GLfloat * v
[13]
GLuint64 GLenum void * handle
struct pg_result PGresult
Definition qsql_psql_p.h:27