|
relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
|
Type checking concepts for date/time operations. More...
Classes | |
| struct | extract_column_type |
| Helper to extract column type for checking. More... | |
| struct | extract_column_type< schema::column< TableT, Name, ColumnT, Modifiers... > > |
| struct | is_time_point |
| Helper to check if a type is a time_point of any clock. More... | |
| struct | is_time_point< std::chrono::time_point< Clock, Duration > > |
| struct | remove_optional |
| Remove optional wrapper to get base type. More... | |
| struct | remove_optional< std::optional< T > > |
Concepts | |
| concept | DateTimeType |
| Check if a type is a date/time type. | |
| concept | DateTimeColumn |
| Check if type is a date/time type (unwrapping optional) | |
Typedefs | |
| template<typename T > | |
| using | remove_optional_t = typename remove_optional< T >::type |
| template<typename T > | |
| using | extract_column_type_t = typename extract_column_type< T >::type |
Variables | |
| template<typename T > | |
| constexpr bool | is_time_point_v = is_time_point<T>::value |
Type checking concepts for date/time operations.
| using relx::query::date_checking::extract_column_type_t = typedef typename extract_column_type<T>::type |
Definition at line 73 of file date_concepts.hpp.
| using relx::query::date_checking::remove_optional_t = typedef typename remove_optional<T>::type |
Definition at line 24 of file date_concepts.hpp.
|
inlineconstexpr |
Definition at line 34 of file date_concepts.hpp.