Represents the results of executing a query.
More...
#include <database.h>
|
|
using | Row = tuple< optional< TYPES >... > |
| | A results row.
|
| |
|
|
const Row & | operator[] (size_t index) const |
| | Indexed access to the rows in the result.
|
| |
|
int | columnCount () const |
| | Count of columns in the results.
|
| |
|
size_t | size () const |
| | Count of rows in the results.
|
| |
|
bool | empty () const |
| | Returns true if the ResultSet is empty.
|
| |
|
auto | begin () const |
| | ResultSet begin iterator.
|
| |
|
auto | end () const |
| | ResultSet end iterator.
|
| |
| const auto & | singleValue () const |
| | Convenience helper for extracting a single value. More...
|
| |
template<class... TYPES>
class db::ResultSet< TYPES >
Represents the results of executing a query.
- See also
- db::Connection::exec()
◆ singleValue()
Convenience helper for extracting a single value.
- Exceptions
-
The documentation for this class was generated from the following file: