Urho3D::DbResult Class Reference
Urho3D::DbResult Class Reference
Database query result. More...
#include <Urho3D/Database/SQLite/SQLiteResult.h>
Collaboration diagram for Urho3D::DbResult:
Public Member Functions | |
DbResult () | |
Default constructor constructs an empty result object. | |
unsigned | GetNumColumns () const |
Return number of columns in the resultset or 0 if there is no resultset. | |
unsigned | GetNumRows () const |
Return number of rows in the resultset or 0 if the number of rows is not available. | |
long | GetNumAffectedRows () const |
Return number of affected rows by the DML query or -1 if the number of affected rows is not available. | |
const nanodbc::result & | GetResultImpl () const |
Return the underlying implementation result object. | |
const StringVector & | GetColumns () const |
Return the column headers string collection. | |
const Vector< VariantVector > & | GetRows () const |
Return fetched rows collection. Filtered rows are not included in the collection. | |
DbResult () | |
Default constructor constructs an empty result object. | |
unsigned | GetNumColumns () const |
Return number of columns in the resultset or 0 if there is no resultset. | |
unsigned | GetNumRows () const |
Return number of rows in the resultset or 0 if the number of rows is not available. | |
long | GetNumAffectedRows () const |
Return number of affected rows by the DML query or -1 if the number of affected rows is not available. | |
const StringVector & | GetColumns () const |
Return the column headers string collection. | |
const Vector< VariantVector > & | GetRows () const |
Return fetched rows collection. Filtered rows are not included in the collection. | |
Private Attributes | |
nanodbc::result | resultImpl_ |
The underlying implementation connection object. | |
StringVector | columns_ |
Column headers from the resultset. | |
Vector< VariantVector > | rows_ |
Fetched rows from the resultset. | |
long | numAffectedRows_ |
Number of affected rows by recent DML query. | |
Friends | |
class | DbConnection |
Detailed Description
Database query result.
The documentation for this class was generated from the following files:
- Source/Urho3D/Database/ODBC/ODBCResult.h
- Source/Urho3D/Database/SQLite/SQLiteResult.h