Urho3D
Public Member Functions | Private Attributes | Friends | List of all members
Urho3D::DbResult Class Reference

Database query result. More...

#include </home/runner/work/rurho3d.github.io/rurho3d.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 StringVectorGetColumns () 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< VariantVectorrows_
 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 file: