Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnList ¶
type ColumnList struct {
// contains filtered or unexported fields
}
func (*ColumnList) All ¶
func (cd *ColumnList) All() []*Column
type Constraint ¶
type Constraint struct { Table *Table Tree tree.ConstraintTableDef Name string }
func (*Constraint) Equal ¶ added in v1.1.0
func (c *Constraint) Equal(n *Constraint) bool
type ConstraintList ¶
type ConstraintList struct {
// contains filtered or unexported fields
}
func (*ConstraintList) All ¶
func (il *ConstraintList) All() []*Constraint
func (*ConstraintList) Find ¶
func (il *ConstraintList) Find(name string) (*Constraint, bool)
type Enum ¶ added in v1.2.0
type Enum struct { Name string Values EnumValueList Enum *tree.CreateType }
Enum represents the declarative state of a `CREATE TYPE _ AS ENUM` statement
type EnumValueList ¶ added in v1.2.0
type EnumValueList struct {
// contains filtered or unexported fields
}
func (*EnumValueList) All ¶ added in v1.2.0
func (ev *EnumValueList) All() []string
func (*EnumValueList) Find ¶ added in v1.2.0
func (ev *EnumValueList) Find(v string) bool
type Table ¶
type Table struct { Name string Tree *tree.CreateTable Columns *ColumnList Indexes *IndexList Constraints *ConstraintList }
Table represents the declarative state of a `CREATE TABLE` statement
Click to show internal directories.
Click to hide internal directories.