7#include <QtSql/qtsqlglobal.h>
8#include <QtSql/qsqldatabase.h>
9#include <QtCore/qstring.h>
10#include <QtCore/qvariant.h>
20class QSqlQueryPrivate;
28 Q_PROPERTY(
bool positionalBindingEnabled READ isPositionalBindingEnabled WRITE setPositionalBindingEnabled)
29 Q_PROPERTY(
QSql::NumericalPrecisionPolicy numericalPrecisionPolicy READ numericalPrecisionPolicy WRITE setNumericalPrecisionPolicy)
35#if QT_DEPRECATED_SINCE(6, 2)
46 :
d(std::exchange(
other.d,
nullptr))
48 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QSqlQuery)
57 bool isNull(
int field)
const;
62 int numRowsAffected()
const;
64 bool isSelect()
const;
68 bool isForwardOnly()
const;
80 void setPositionalBindingEnabled(
bool enable);
81 bool isPositionalBindingEnabled()
const;
83 bool seek(
int i,
bool relative =
false);
94 bool execBatch(BatchExecutionMode
mode = ValuesAsRows);
The QSqlDatabase class handles a connection to a database.
The QSqlDriver class is an abstract base class for accessing specific SQL databases.
The QSqlError class provides SQL database error information.
The QSqlQuery class provides a means of executing and manipulating SQL statements.
QSqlQuery & operator=(const QSqlQuery &other)=delete
QSqlQuery(QSqlQuery &&other) noexcept
void swap(QSqlQuery &other) noexcept
BatchExecutionMode
\value ValuesAsRows - Updates multiple rows.
QSqlQuery(const QSqlQuery &other)=delete
The QSqlRecord class encapsulates a database record.
The QSqlResult class provides an abstract interface for accessing data from specific SQL databases.
\macro QT_RESTRICTED_CAST_FROM_ASCII
query setForwardOnly(true)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLuint GLintptr GLsizeiptr size
[1]
constexpr void qt_ptr_swap(T *&lhs, T *&rhs) noexcept
#define QT_DEPRECATED_VERSION_X_6_2(text)