Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsqlquery.cpp File Reference
#include "qsqlquery.h"
#include "qatomic.h"
#include "qdebug.h"
#include "qsqlrecord.h"
#include "qsqlresult.h"
#include "qsqldriver.h"
#include "qsqldatabase.h"
#include "private/qsqlnulldriver_p.h"
+ Include dependency graph for qsqlquery.cpp:

Go to the source code of this file.

Classes

class  QSqlQueryPrivate
 

Functions

 Q_GLOBAL_STATIC_WITH_ARGS (QSqlNullResult, nullResult,(nullDriver())) QSqlQueryPrivate *QSqlQueryPrivate
 
static void qInit (QSqlQuery *q, const QString &query, const QSqlDatabase &db)
 

Function Documentation

◆ Q_GLOBAL_STATIC_WITH_ARGS()

Q_GLOBAL_STATIC_WITH_ARGS ( QSqlNullResult  ,
nullResult  ,
(nullDriver())   
)

Definition at line 35 of file qsqlquery.cpp.

References QBasicAtomicInteger< T >::ref(), and QSqlQueryPrivate::ref.

+ Here is the call graph for this function:

◆ qInit()

static void qInit ( QSqlQuery q,
const QString query,
const QSqlDatabase db 
)
static

Definition at line 270 of file qsqlquery.cpp.

References QSqlDriver::createResult(), QSqlDatabase::database(), db, QSqlDatabase::defaultConnection, QSqlDatabase::driver(), and QSqlDatabase::isValid().

Referenced by QSqlQuery::QSqlQuery(), QSqlQuery::QSqlQuery(), and QTest::qExec().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: