Database query result. More...

#include <SQLiteResult.h>

Collaboration diagram for Urho3D::DbResult:
[legend]

Public Member Functions

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 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.
 
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

nanodbc::result resultImpl_
 The underlying implementation connection object.
 
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 files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Database/ODBC/ODBCResult.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Database/SQLite/SQLiteResult.h