Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct { FieldOrdinal int // field_ordinal ColumnName string // column_name DataType string // data_type NotNull bool // not_null IsPrimaryKey bool // is_primary_key IsGenerated bool // is_generated }
Column represents column info.
type CustomTypes ¶
type CustomTypes struct { Tables []struct { Name string `yaml:"name"` Columns map[string]string `yaml:"columns"` } }
CustomTypes represents custom type definitions
type Index ¶
type Index struct { IndexName string // index_name IsUnique bool // is_unique IsPrimary bool // is_primary SeqNo int // seq_no Origin string // origin IsPartial bool // is_partial }
Index represents an index.
type IndexColumn ¶
type IndexColumn struct { SeqNo int // seq_no. If is'a Storing Column, this value is 0. ColumnName string // column_name Storing bool // storing column or not }
IndexColumn represents index column info.
Click to show internal directories.
Click to hide internal directories.