Rocket::Controls::DataQuery Class Reference
#include <DataQuery.h>
|
Public Member Functions |
|
| DataQuery (DataSource *data_source, const Rocket::Core::String &table, const Rocket::Core::String &fields, int offset=0, int limit=-1, const Rocket::Core::String &order="") |
|
void | ExecuteQuery (DataSource *data_source, const Rocket::Core::String &table, const Rocket::Core::String &fields, int offset=0, int limit=-1, const Rocket::Core::String &order="") |
|
bool | NextRow () |
|
bool | IsFieldSet (const Rocket::Core::String &field) const |
|
template<typename T> |
| T | Get (const Rocket::Core::String &field_name, const T &default_value) const |
|
template<typename T> |
| bool | GetInto (const Rocket::Core::String &field_name, T &value) const |
|
template<typename T> |
| T | Get (const size_t field_index, const T &default_value) const |
|
template<typename T> |
| bool | GetInto (const size_t field_index, T &value) const |
|
size_t | GetNumFields () |
Detailed Description
DataQuery - Author:
- Robert Curry
Represents a request for information from an
DataSource, encapsulates the result and offers mechanisms to iterate through the returned rows.
The documentation for this class was generated from the following files:
- Include/Rocket/Controls/DataQuery.h
- Source/Controls/DataQuery.cpp