MySQL  8.0.18
Source Code Documentation
Alter_state Class Reference

Class which instances represents state(i.e ENFORCED | NOT ENFORCED) of CHECK CONSTRAINT in ALTER TABLE statement. More...

#include <sql_alter.h>

Public Types

enum  Type { Type::CHECK_CONSTRAINT }
 

Public Member Functions

 Alter_state (Type par_type, const char *par_name, bool par_state)
 

Public Attributes

const char * name
 
Type type
 
bool state
 

Detailed Description

Class which instances represents state(i.e ENFORCED | NOT ENFORCED) of CHECK CONSTRAINT in ALTER TABLE statement.

Member Enumeration Documentation

◆ Type

enum Alter_state::Type
strong
Enumerator
CHECK_CONSTRAINT 

Constructor & Destructor Documentation

◆ Alter_state()

Alter_state::Alter_state ( Type  par_type,
const char *  par_name,
bool  par_state 
)
inline

Member Data Documentation

◆ name

const char* Alter_state::name

◆ state

bool Alter_state::state

◆ type

Type Alter_state::type

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