|
ORM C++
|
#include <cstddef>#include <format>#include <optional>#include <sstream>#include <stdexcept>#include <string>#include <string_view>#include <tuple>#include <type_traits>#include <utility>import orm:database_payload;import orm.reflection;
Go to the source code of this file.
Classes | |
| struct | orm::db::binding::ObjectFieldFromValues< ModelField > |
| struct | orm::db::binding::ObjectFieldToValues< ModelField > |
Namespaces | |
| namespace | orm |
| namespace | orm::db |
| namespace | orm::db::binding |
Functions | |
| template<typename ModelField> | |
| auto | orm::db::binding::getScalarFieldValue (const auto &values, const std::string &fieldName) -> ModelField |
| template<typename T> | |
| auto | orm::db::binding::bindTypedNull (soci::values &values, std::string_view name, const T &value) -> void |
| auto | orm::db::binding::setNullValue (soci::values &values, const std::string &name, model::ColumnType type) -> void |
| auto | orm::db::binding::validateStringLength (std::string_view text, std::optional< std::size_t > limit) -> void |
| template<typename ModelField> | |
| auto | orm::db::binding::setScalarFieldValue (soci::values &values, const std::string &fieldName, const ModelField &field, model::ColumnType columnType, std::optional< std::size_t > maxStringLength=std::nullopt) -> void |