Documentation
¶
Overview ¶
Package mysql provides SQL keyword constants for the MySQL parser.
Package mysql implements a DDL parser for MySQL schemas.
This parser supports MySQL-specific DDL syntax including:
- AUTO_INCREMENT
- TIMESTAMP with ON UPDATE
- ENUM and SET types
- Full-text indexes
- MySQL-specific column attributes
Index ¶
Constants ¶
View Source
const ( KeywordPrimary = "PRIMARY" KeywordUnique = "UNIQUE" KeywordIndex = "INDEX" KeywordKey = "KEY" KeywordCheck = "CHECK" KeywordForeign = "FOREIGN" KeywordConstraint = "CONSTRAINT" KeywordFullText = "FULLTEXT" KeywordSpatial = "SPATIAL" )
SQL keywords used in MySQL DDL parsing.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.