7#include <QtSql/qtsqlglobal.h>
8#include <QtSql/qsqlrecord.h>
9#include <QtCore/qlist.h>
10#include <QtCore/qstring.h>
25 void setCursorName(
const QString &cursorName);
33 bool isDescending(
int i)
const;
34 void setDescending(
int i,
bool desc);
The QSqlField class manipulates the fields in SQL database tables and views.
The QSqlIndex class provides functions to manipulate and describe database indexes.
QString name() const
Returns the name of the index.
QSqlIndex(QSqlIndex &&other) noexcept=default
Move-constructs a new QSqlIndex from other.
QString cursorName() const
Returns the name of the cursor which the index is associated with.
QSqlIndex & operator=(QSqlIndex &&other)=default
Move-assigns other to this QSqlIndex instance.
The QSqlRecord class encapsulates a database record.
void append(const QSqlField &field)
Append a copy of field field to the end of the record.
QSqlRecord & operator=(const QSqlRecord &other)
Sets the record equal to other.
\macro QT_RESTRICTED_CAST_FROM_ASCII
employee setName("Richard Schmit")
Combined button and popup list for selecting options.