|
relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
|
Generate CREATE TABLE SQL statement for a table struct. More...
#include <relx/schema/table.hpp>
Public Member Functions | |
| create_table (const Table &table_instance) | |
| create_table & | if_not_exists (bool if_not_exists=true) |
| create_table & | if_exists (bool if_exists=true) |
| create_table & | cascade (bool cascade=true) |
| create_table & | restrict (bool restrict=true) |
| std::optional< std::string > | validate () const |
| Validate the create table configuration. | |
| std::string | to_sql () const |
| const std::vector< std::string > & | bind_params () const |
Generate CREATE TABLE SQL statement for a table struct.
| Table | The table struct type |
| table_instance | An instance of the table |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |