relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
Loading...
Searching...
No Matches
relx::schema::default_value< Value > Struct Template Reference

DEFAULT value for non-string values. More...

#include <relx/schema/column.hpp>

Public Types

using value_type = decltype(Value)
 

Static Public Member Functions

static std::string to_sql ()
 

Static Public Attributes

static constexpr value_type value = Value
 

Detailed Description

template<auto Value>
struct relx::schema::default_value< Value >

DEFAULT value for non-string values.

Definition at line 147 of file column.hpp.

Member Typedef Documentation

◆ value_type

template<auto Value>
using relx::schema::default_value< Value >::value_type = decltype(Value)

Definition at line 148 of file column.hpp.

Member Function Documentation

◆ to_sql()

template<auto Value>
static std::string relx::schema::default_value< Value >::to_sql ( )
inlinestatic

Definition at line 152 of file column.hpp.

Member Data Documentation

◆ value

template<auto Value>
constexpr value_type relx::schema::default_value< Value >::value = Value
staticconstexpr

Definition at line 150 of file column.hpp.


The documentation for this struct was generated from the following file: