|
ORM C++
|
#include <bit>#include <charconv>#include <cmath>#include <cstddef>#include <cstdint>#include <exception>#include <limits>#include <new>#include <optional>#include <sstream>#include <stdexcept>#include <string>#include <string_view>#include <system_error>#include <type_traits>#include <utility>import orm:database_soci;
Go to the source code of this file.
Classes | |
| struct | orm::db::binding::OptionalValue< T > |
| struct | orm::db::binding::OptionalValue< T > |
| class | orm::db::binding::ConversionError |
| Internal signal for a result value that cannot be represented by the requested model or projection field without loss. More... | |
Namespaces | |
| namespace | orm |
| namespace | orm::db |
| namespace | orm::db::binding |
Concepts | |
| concept | orm::db::binding::IsOneOfTypes |
| concept | orm::db::binding::SociConvertableToInt |
| concept | orm::db::binding::SociConvertableToLongLong |
| concept | orm::db::binding::SociConvertableToUnsignedLongLong |
| concept | orm::db::binding::SociConvertableToDouble |
| concept | orm::db::binding::SociDefaultSupported |
| concept | orm::db::binding::SchemaModel |
| concept | orm::db::binding::SociEncodedValue |
Typedefs | |
| template<typename T> | |
| using | orm::db::binding::optional_value_t = typename OptionalValue<std::remove_cv_t<T>>::Type |
Functions | |
| template<typename Wrapper, typename Value> | |
| auto | orm::db::binding::makeNullableValue (Value value) -> Wrapper |
| template<UuidAdaptable T> | |
| auto | orm::db::binding::canonicalUuid (const T &value) -> Uuid |
| template<SociEncodedValue T> | |
| auto | orm::db::binding::encodeScalarValue (const T &value) -> std::string |
| template<SociEncodedValue T> | |
| auto | orm::db::binding::decodeScalarValue (std::string_view text) -> T |
| template<SociEncodedValue T> | |
| auto | orm::db::binding::getEncodedScalarValue (const auto &values, const std::string &name) -> T |
| template<typename Result, typename Source> | |
| constexpr auto | orm::db::binding::isIntegralInRange (Source value) noexcept -> bool |
| auto | orm::db::binding::throwLossyNumericConversion (std::string_view fieldName) -> void |
| template<typename Result, typename Source> | |
| auto | orm::db::binding::checkedNumericCast (Source value, std::string_view fieldName) -> Result |
| template<typename Result> | |
| auto | orm::db::binding::parseNumericValue (std::string_view value, std::string_view fieldName) -> Result |
| template<typename Result, typename Stored> | |
| auto | orm::db::binding::tryGetNumericValue (Result *result, const auto &values, const std::string &fieldName) -> bool |
| template<typename Result> | |
| auto | orm::db::binding::getNumericValue (const auto &values, const std::string &fieldName) -> Result |