MySQL 8.0.39
Source Code Documentation
Alter_constraint_enforcement Class Reference

Class representing ALTER CHECK and ALTER CONSTRAINT clauses in ALTER TABLE statement. More...

#include <sql_alter.h>

Public Types

enum class  Type { CHECK_CONSTRAINT , ANY_CONSTRAINT }
 

Public Member Functions

 Alter_constraint_enforcement (Type par_type, const char *par_name, bool par_is_enforced)
 

Public Attributes

const char * name
 
Type type
 
bool is_enforced
 

Detailed Description

Class representing ALTER CHECK and ALTER CONSTRAINT clauses in ALTER TABLE statement.

Member Enumeration Documentation

◆ Type

Enumerator
CHECK_CONSTRAINT 
ANY_CONSTRAINT 

Constructor & Destructor Documentation

◆ Alter_constraint_enforcement()

Alter_constraint_enforcement::Alter_constraint_enforcement ( Type  par_type,
const char *  par_name,
bool  par_is_enforced 
)
inline

Member Data Documentation

◆ is_enforced

bool Alter_constraint_enforcement::is_enforced

◆ name

const char* Alter_constraint_enforcement::name

◆ type

Type Alter_constraint_enforcement::type

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