|
ORM C++
|
A value that can be bound as a query parameter. More...
Public Types | |
| using | Value |
Public Member Functions | |
| QueryValue (bool inputValue) | |
| QueryValue (char inputValue) | |
| QueryValue (signed char inputValue) | |
| QueryValue (unsigned char inputValue) | |
| QueryValue (short inputValue) | |
| QueryValue (unsigned short inputValue) | |
| QueryValue (int inputValue) | |
| QueryValue (unsigned int inputValue) | |
| QueryValue (long inputValue) | |
| QueryValue (unsigned long inputValue) | |
| QueryValue (long long inputValue) | |
| QueryValue (unsigned long long inputValue) | |
| QueryValue (float inputValue) | |
| QueryValue (double inputValue) | |
| QueryValue (const char *inputValue) | |
| QueryValue (std::string inputValue) | |
| QueryValue (std::string_view inputValue) | |
| QueryValue (Date inputValue) | |
| QueryValue (TimeOfDay inputValue) | |
| QueryValue (LocalDateTime inputValue) | |
| QueryValue (UtcTimestamp inputValue) | |
| QueryValue (Uuid inputValue) | |
| template<UuidAdaptable T> | |
| QueryValue (const T &inputValue) | |
| template<ValueConvertible T> | |
| QueryValue (const T &inputValue) | |
| template<std::size_t Size> | |
| QueryValue (const char(&inputValue)[Size]) | |
| template<typename T> | |
| QueryValue (const std::optional< T > &optionalValue) | |
| auto | getLogicalType () const noexcept -> model::ColumnType |
| auto | get () const -> const Value & |
| auto | operator== (const QueryValue &other) const -> bool |
| auto | operator<=> (const QueryValue &other) const -> std::partial_ordering |
Static Public Member Functions | |
| static auto | fromStorage (model::ColumnType logicalType, Value value) -> QueryValue |
| Restores a canonical transport value with its model-level type. | |
| static auto | isCompatibleStorage (model::ColumnType logicalType, const Value &storedValue) noexcept -> bool |
| Checks both the canonical variant alternative and its logical range. | |
A value that can be bound as a query parameter.
QueryValue stores the subset of C++ values supported by the SELECT query DSL. Values are rendered as SOCI bind parameters, not interpolated into SQL.
Definition at line 32 of file value.cppm.
Definition at line 35 of file value.cppm.
|
inline |
Definition at line 38 of file value.cppm.
|
inline |
Definition at line 39 of file value.cppm.
|
inline |
Definition at line 40 of file value.cppm.
|
inline |
Definition at line 43 of file value.cppm.
|
inline |
Definition at line 47 of file value.cppm.
|
inline |
Definition at line 48 of file value.cppm.
|
inline |
Definition at line 52 of file value.cppm.
|
inline |
Definition at line 53 of file value.cppm.
|
inline |
Definition at line 57 of file value.cppm.
|
inline |
Definition at line 62 of file value.cppm.
|
inline |
Definition at line 68 of file value.cppm.
|
inline |
Definition at line 69 of file value.cppm.
|
inline |
Definition at line 72 of file value.cppm.
|
inline |
Definition at line 73 of file value.cppm.
|
inline |
Definition at line 74 of file value.cppm.
|
inline |
Definition at line 75 of file value.cppm.
|
inline |
Definition at line 76 of file value.cppm.
|
inline |
Definition at line 80 of file value.cppm.
|
inline |
Definition at line 81 of file value.cppm.
|
inline |
Definition at line 82 of file value.cppm.
|
inline |
Definition at line 83 of file value.cppm.
|
inline |
Definition at line 84 of file value.cppm.
|
inline |
Definition at line 87 of file value.cppm.
|
inline |
Definition at line 94 of file value.cppm.
|
inline |
Definition at line 99 of file value.cppm.
|
inline |
Definition at line 105 of file value.cppm.
|
inlinestaticnodiscard |
Restores a canonical transport value with its model-level type.
Hydration and backend adapters use this factory when several logical column types share the same SOCI exchange representation.
Definition at line 115 of file value.cppm.
|
inlinenodiscard |
Definition at line 188 of file value.cppm.
|
inlinenodiscardnoexcept |
Definition at line 183 of file value.cppm.
|
inlinestaticnodiscardnoexcept |
Checks both the canonical variant alternative and its logical range.
Definition at line 128 of file value.cppm.
| auto orm::query::QueryValue::operator<=> | ( | const QueryValue & | other | ) | const -> std::partial_ordering |
| auto orm::query::QueryValue::operator== | ( | const QueryValue & | other | ) | const -> bool |