|
relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
|
#include <string>#include <tuple>#include <type_traits>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | relx |
| relx database connection | |
| namespace | relx::connection |
Functions | |
| template<typename T > | |
| void | relx::connection::convert_and_assign (T &target, const std::string &value) |
| Convert a string value to the target type and assign it. | |
| template<typename Tuple , size_t... Indices> | |
| void | relx::connection::apply_tuple_assignment (Tuple &tuple, const std::vector< std::string > &row, std::index_sequence< Indices... >) |
| Helper function to perform the tuple assignment with index sequence. | |
| template<typename Tuple > | |
| void | relx::connection::map_row_to_tuple (Tuple &tuple, const std::vector< std::string > &row) |
| Helper function to map a result row to a tuple (and thus to a struct) | |