Dry
|
Database query result. More...
#include <Dry/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 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 |
Database query result.