|
Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
|
Represents a generic, unified result set from a database query. More...
#include <ResultSet.hpp>
Public Member Functions | |
| ResultSet ()=default | |
| ResultSet (std::vector< Row > rows, uint64_t affected_rows=0) | |
| const std::vector< Row > & | rows () const |
| size_t | size () const |
| bool | empty () const |
| uint64_t | affected_rows () const |
| const Row & | operator[] (size_t index) const |
| nlohmann::json | to_json () const |
| Serializes the entire result set to a JSON array of objects. | |
Represents a generic, unified result set from a database query.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Serializes the entire result set to a JSON array of objects.