QSqlQuery wrapper for non-select query results reading.
More...
#include <EasyQtSql.h>
|
QSqlQuery & | unwrappedQuery () |
| Returns reference on wrapped QSqlQuery. More...
|
|
int | numRowsAffected () const |
| Returns the number of rows affected by the result's SQL statement, or -1 if it cannot be determined. More...
|
|
QVariant | lastInsertId () const |
| Returns the object ID of the most recent inserted row if the database supports it. More...
|
|
QSqlError | lastError () const |
| Returns error information about the last error (if any) that occurred with this query. More...
|
|
QString | lastQuery () const |
| Returns the text of the current query being used, or an empty string if there is no current query text. More...
|
|
QString | executedQuery () const |
| Returns the last query that was successfully executed. More...
|
|
QSqlQuery wrapper for non-select query results reading.
◆ executedQuery()
QString EasyQtSql::NonQueryResult::executedQuery |
( |
| ) |
const |
|
inline |
Returns the last query that was successfully executed.
Wrapper over QSqlQuery::executedQuery()
◆ lastError()
QSqlError EasyQtSql::NonQueryResult::lastError |
( |
| ) |
const |
|
inline |
Returns error information about the last error (if any) that occurred with this query.
Wrapper over QSqlQuery::lastError()
◆ lastInsertId()
QVariant EasyQtSql::NonQueryResult::lastInsertId |
( |
| ) |
const |
|
inline |
Returns the object ID of the most recent inserted row if the database supports it.
Wrapper over QSqlQuery::lastInsertId()
◆ lastQuery()
QString EasyQtSql::NonQueryResult::lastQuery |
( |
| ) |
const |
|
inline |
Returns the text of the current query being used, or an empty string if there is no current query text.
Wrapper over QSqlQuery::lastQuery()
◆ numRowsAffected()
int EasyQtSql::NonQueryResult::numRowsAffected |
( |
| ) |
const |
|
inline |
Returns the number of rows affected by the result's SQL statement, or -1 if it cannot be determined.
Wrapper over QSqlQuery::numRowsAffected()
◆ unwrappedQuery()
QSqlQuery& EasyQtSql::NonQueryResult::unwrappedQuery |
( |
| ) |
|
|
inline |
Returns reference on wrapped QSqlQuery.
◆ Database
◆ DeleteQuery
◆ InsertQuery
◆ Transaction
◆ UpdateQuery
The documentation for this class was generated from the following file: