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

REFERENCES constraint for foreign keys. More...

#include <relx/schema/column.hpp>

Static Public Member Functions

static std::string to_sql ()
 

Static Public Attributes

static constexpr auto table = Table
 
static constexpr auto column = Column
 

Detailed Description

template<fixed_string Table, fixed_string Column>
struct relx::schema::references< Table, Column >

REFERENCES constraint for foreign keys.

Definition at line 119 of file column.hpp.

Member Function Documentation

◆ to_sql()

template<fixed_string Table, fixed_string Column>
static std::string relx::schema::references< Table, Column >::to_sql ( )
inlinestatic

Definition at line 123 of file column.hpp.

Member Data Documentation

◆ column

template<fixed_string Table, fixed_string Column>
constexpr auto relx::schema::references< Table, Column >::column = Column
staticconstexpr

Definition at line 121 of file column.hpp.

◆ table

template<fixed_string Table, fixed_string Column>
constexpr auto relx::schema::references< Table, Column >::table = Table
staticconstexpr

Definition at line 120 of file column.hpp.


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