#include "qsqlquery.h"
#include "qatomic.h"
#include "qsqlrecord.h"
#include "qsqlresult.h"
#include "qsqldriver.h"
#include "qsqldatabase.h"
#include "private/qsqlnulldriver_p.h"
#include "qvector.h"
#include "qmap.h"
Go to the source code of this file.
◆ Q_GLOBAL_STATIC_WITH_ARGS()
Q_GLOBAL_STATIC_WITH_ARGS |
( |
QSqlNullResult |
, |
|
|
nullResult |
, |
|
|
(nullDriver()) |
|
|
) |
| |
Definition at line 70 of file qsqlquery.cpp.
bool ref()
Atomically increments the value of this QAtomicInt.
◆ qInit()
- Warning
- This function is not part of the public interface.
Definition at line 264 of file qsqlquery.cpp.
Referenced by QSqlQuery::QSqlQuery().
bool isValid() const
Returns true if the QSqlDatabase has a valid driver.
The QSqlQuery class provides a means of executing and manipulating SQL statements.
The QSqlDatabase class represents a connection to a database.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QSqlDriver * driver() const
Returns the database driver used to access the database connection.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
static QSqlDatabase database(const QString &connectionName=QLatin1String(defaultConnection), bool open=true)
Returns the database connection called connectionName.
virtual QSqlResult * createResult() const =0
Creates an empty SQL result on the database.
QT_STATIC_CONST char * defaultConnection
bool exec(const QString &query)
Executes the SQL in query.