Versions in this module Expand all Collapse all v2 v2.10.3 Feb 9, 2024 Changes in this version + type Column struct + Comment string + DataType DataType + IsGenerated bool + IsNullable bool + IsPrimaryKey bool + Name string + func (c Column) GoLangComment() string + type DataType struct + IsUnsigned bool + Kind DataTypeKind + Name string + type DataTypeKind string + const ArrayType + const BaseType + const EnumType + const RangeType + const UserDefinedType + type DialectQuerySet interface + GetEnumsMetaData func(db *sql.DB, schemaName string) ([]Enum, error) + GetTablesMetaData func(db *sql.DB, schemaName string, tableType TableType) ([]Table, error) + type Enum struct + Name string + Values []string + type Schema struct + EnumsMetaData []Enum + Name string + TablesMetaData []Table + ViewsMetaData []Table + func GetSchema(db *sql.DB, querySet DialectQuerySet, schemaName string) (Schema, error) + func (s Schema) IsEmpty() bool + type Table struct + Columns []Column + Name string + func (t Table) MutableColumns() []Column + type TableType string + const BaseTable + const ViewTable