Urho3D
|
Database query result. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Database/SQLite/SQLiteResult.h>
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 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 | |
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 |
Database query result.