Query result set.
More...
#include <ResultSet.h>
|
| virtual | ~ResultSet () noexcept=default |
| |
| virtual void | reset () noexcept=0 |
| | Locate the first query record.
|
| |
| virtual bool | next () noexcept=0 |
| | Move to the next record.
|
| |
| virtual size_t | getColumns () const noexcept=0 |
| | Get the number of columns in the record.
|
| |
| virtual int32_t | getInteger (size_t index) const noexcept=0 |
| | Get an integer value from the current record.
|
| |
| virtual int64_t | getLong (size_t index) const noexcept=0 |
| | Get a long integer value from the current record.
|
| |
| virtual std::string_view | getString (size_t index) const noexcept=0 |
| | Get a string from the current record.
|
| |
| virtual double | getDouble (size_t index) const noexcept=0 |
| | Get a double-precision floating-point value from the current record.
|
| |
| virtual float | getFloat (size_t index) const noexcept=0 |
| | Get a single-precision floating-point value from the current record.
|
| |
| virtual std::optional< sese::DateTime > | getDateTime (size_t index) const noexcept=0 |
| | Get a time data structure from the current record.
|
| |
| virtual bool | isNull (size_t index) const noexcept=0 |
| | Determine if the returned result is null.
|
| |
◆ Ptr
◆ ~ResultSet()
| virtual sese::db::ResultSet::~ResultSet |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ getColumns()
| virtual size_t sese::db::ResultSet::getColumns |
( |
| ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getDateTime()
| virtual std::optional< sese::DateTime > sese::db::ResultSet::getDateTime |
( |
size_t | index | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getDouble()
| virtual double sese::db::ResultSet::getDouble |
( |
size_t | index | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getFloat()
| virtual float sese::db::ResultSet::getFloat |
( |
size_t | index | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getInteger()
| virtual int32_t sese::db::ResultSet::getInteger |
( |
size_t | index | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getLong()
| virtual int64_t sese::db::ResultSet::getLong |
( |
size_t | index | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ getString()
| virtual std::string_view sese::db::ResultSet::getString |
( |
size_t | index | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ isNull()
| virtual bool sese::db::ResultSet::isNull |
( |
size_t | index | ) |
const |
|
nodiscardpure virtualnoexcept |
◆ next()
| virtual bool sese::db::ResultSet::next |
( |
| ) |
|
|
nodiscardpure virtualnoexcept |
◆ reset()
| virtual void sese::db::ResultSet::reset |
( |
| ) |
|
|
pure virtualnoexcept |
The documentation for this class was generated from the following file: