|
Botan 3.13.0
Crypto and TLS for C&
|
#include <database.h>
Public Member Functions | |
| Column (std::string name, Column_Type type) | |
| bool | is_not_null () const |
| bool | is_primary_key () const |
| bool | is_unique () const |
| const std::string & | name () const |
| Column & | not_null () |
| Column & | primary_key () |
| Column_Type | type () const |
| Column & | unique () |
The name, type and constraints of one column of a table
Definition at line 205 of file database.h.
|
inline |
Declare a column
Definition at line 212 of file database.h.
References name(), and type().
Referenced by not_null(), primary_key(), and unique().
|
inline |
Query whether this column is NOT NULL
Definition at line 263 of file database.h.
|
inline |
Query whether this column is part of the primary key
Definition at line 257 of file database.h.
|
inline |
Query whether this column is UNIQUE
Definition at line 269 of file database.h.
|
inline |
Query the column name
Definition at line 245 of file database.h.
Referenced by Column().
|
inline |
Mark this column as NOT NULL
Definition at line 227 of file database.h.
References Column().
|
inline |
Mark this column as part of the primary key
Definition at line 218 of file database.h.
References Column().
|
inline |
Query the column type
Definition at line 251 of file database.h.
Referenced by Column().
|
inline |
Mark this column as UNIQUE
Definition at line 236 of file database.h.
References Column().