Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
ResultSet.hpp File Reference
#include <orbit/legacy_namespaces.hpp>
#include <string>
#include <vector>
#include <unordered_map>
#include <optional>
#include <memory>
#include <stdexcept>
#include <charconv>
#include <limits>
#include <locale>
#include <sstream>
#include <type_traits>
#include <orbit/http/json.hpp>
Include dependency graph for ResultSet.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  orbit::database::Row
 Represents a single row of a database result set. More...
 
class  orbit::database::ResultSet
 Represents a generic, unified result set from a database query. More...
 

Namespaces

namespace  orbit
 
namespace  orbit::database
 
namespace  orbit::database::detail
 

Functions

template<typename T >
std::optional< T > orbit::database::detail::convert (const std::string &text)
 Converts a column's text to T: bool, an integer, a floating-point type or std::string. The whole text must convert; "12abc" is not 12. Booleans accept t/f, true/false, 1/0 (PostgreSQL and MySQL spellings).