QSqlQuery wrapper for non-select query results reading.
More...
#include <EasyQtSql_NonQueryResult.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 NonQueryResult::executedQuery |
( |
| ) |
const |
|
inline |
Returns the last query that was successfully executed.
Wrapper over QSqlQuery::executedQuery()
◆ lastError()
QSqlError NonQueryResult::lastError |
( |
| ) |
const |
|
inline |
Returns error information about the last error (if any) that occurred with this query.
Wrapper over QSqlQuery::lastError()
◆ lastInsertId()
QVariant 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 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 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& NonQueryResult::unwrappedQuery |
( |
| ) |
|
|
inline |
Returns reference on wrapped QSqlQuery.
◆ Database
◆ DeleteQuery
◆ InsertQuery
◆ Transaction
◆ UpdateQuery
The documentation for this class was generated from the following file: