MySQL  8.0.17
Source Code Documentation
Alter_drop Class Reference

Class representing DROP COLUMN, DROP KEY, DROP FOREIGN KEY and DROP CHECK CONSTRAINT clauses in ALTER TABLE statement. More...

#include <sql_alter.h>

Public Types

enum  drop_type { KEY, COLUMN, FOREIGN_KEY, CHECK_CONSTRAINT }
 

Public Member Functions

 Alter_drop (drop_type par_type, const char *par_name)
 

Public Attributes

const char * name
 
drop_type type
 

Detailed Description

Class representing DROP COLUMN, DROP KEY, DROP FOREIGN KEY and DROP CHECK CONSTRAINT clauses in ALTER TABLE statement.

Member Enumeration Documentation

◆ drop_type

Enumerator
KEY 
COLUMN 
FOREIGN_KEY 
CHECK_CONSTRAINT 

Constructor & Destructor Documentation

◆ Alter_drop()

Alter_drop::Alter_drop ( drop_type  par_type,
const char *  par_name 
)
inline

Member Data Documentation

◆ name

const char* Alter_drop::name

◆ type

drop_type Alter_drop::type

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