Versions in this module Expand all Collapse all v0 v0.1.0 Dec 24, 2021 Changes in this version + type AddColumnClause struct + Columns []*ColumnDef + func (c *AddColumnClause) IsAlterTableClause() + type AddConstraintClause struct + Constraints []*OutOfLineConstraint + func (c *AddConstraintClause) IsAlterTableClause() + type AlterTableClause interface + IsAlterTableClause func() + type AlterTableStmt struct + AlterTableClauses []AlterTableClause + TableName *TableName + func (n *AlterTableStmt) SetText(text string) + func (n *AlterTableStmt) Text() string + type Collation struct + Name *element.Identifier + type ColumnDef struct + Collation *Collation + ColumnName *element.Identifier + Constraints []*InlineConstraint + Datatype element.Datatype + Default *ColumnDefault + Props []ColumnProp + func (c *ColumnDef) IsTableStructDef() + type ColumnDefault struct + OnNull bool + Value interface{} + type ColumnProp int + const ColumnPropEmpty + const ColumnPropInvisible + const ColumnPropNotSubstitutable + const ColumnPropNotSubstitutableForce + const ColumnPropSort + const ColumnPropSubstitutable + const ColumnPropSubstitutableForce + const ColumnPropVisible + type ConstraintType int + const ConstraintTypeDefault + const ConstraintTypeNotNull + const ConstraintTypeNull + const ConstraintTypePK + const ConstraintTypeReferences + const ConstraintTypeUnique + type CreateIndexStmt struct + func (n *CreateIndexStmt) SetText(text string) + func (n *CreateIndexStmt) Text() string + type CreateTableStmt struct + RelTable *RelTableDef + TableName *TableName + func (n *CreateTableStmt) SetText(text string) + func (n *CreateTableStmt) Text() string + type DropColumnClause struct + CheckPoint *int + Columns []*element.Identifier + Props []DropColumnProp + Type DropColumnType + func (c *DropColumnClause) IsAlterTableClause() + type DropColumnProp int + const DropColumnPropCascade + const DropColumnPropEmpty + const DropColumnPropInvalidate + const DropColumnPropOnline + type DropColumnType int + const DropColumnTypeDrop + const DropColumnTypeDropColumnsContinue + const DropColumnTypeDropUnusedColumns + const DropColumnTypeSetUnused + type DropConstraintClause struct + Constraint *OutOfLineConstraint + func (c *DropConstraintClause) IsAlterTableClause() + type DropIndexStmt struct + IndexName *IndexName + func (n *DropIndexStmt) SetText(text string) + func (n *DropIndexStmt) Text() string + type DropTableStmt struct + TableName *TableName + func (n *DropTableStmt) SetText(text string) + func (n *DropTableStmt) Text() string + type IndexName struct + Index *element.Identifier + Schema *element.Identifier + type InlineConstraint struct + Name *element.Identifier + Type ConstraintType + type ModifyColumnClause struct + Columns []*ColumnDef + func (c *ModifyColumnClause) IsAlterTableClause() + type ModifyConstraintClause struct + Constraint *OutOfLineConstraint + func (c *ModifyConstraintClause) IsAlterTableClause() + type Node interface + SetText func(text string) + Text func() string + type OutOfLineConstraint struct + Columns []*element.Identifier + func (c *OutOfLineConstraint) IsTableStructDef() + type RelTableDef struct + TableStructs []TableStructDef + type RenameColumnClause struct + NewName *element.Identifier + OldName *element.Identifier + func (c *RenameColumnClause) IsAlterTableClause() + type RenameConstraintClause struct + NewName *element.Identifier + OldName *element.Identifier + func (c *RenameConstraintClause) IsAlterTableClause() + type TableName struct + Schema *element.Identifier + Table *element.Identifier + type TableStructDef interface + IsTableStructDef func()