mysql

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2020 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IMPORT_SQLCA = `import "github.com/civet148/sqlca"`
)

Variables

This section is empty.

Functions

func Export

func Export(si *schema.SchemaInfo) (err error)

Types

type TableColumn

type TableColumn struct {
	TableName     string `json:"TABLE_NAME" db:"TABLE_NAME"`
	ColumnName    string `json:"COLUMN_NAME" db:"COLUMN_NAME"`
	DataType      string `json:"DATA_TYPE" db:"DATA_TYPE"`
	ColumnKey     string `json:"COLUMN_KEY" db:"COLUMN_KEY"`
	Extra         string `json:"EXTRA" db:"EXTRA"`
	ColumnComment string `json:"COLUMN_COMMENT" db:"COLUMN_COMMENT"`
}

type TableColumnGo

type TableColumnGo struct {
	SchemeName string
	TableName  string
	ColumnName string
	ColumnType string
}

type TableSchema

type TableSchema struct {
	SchemeName   string `json:"TABLE_SCHEMA" db:"TABLE_SCHEMA"`
	TableName    string `json:"TABLE_NAME" db:"TABLE_NAME"`
	TableEngine  string `json:"ENGINE" db:"ENGINE"`
	TableComment string `json:"TABLE_COMMENT" db:"TABLE_COMMENT"`
	SchemeDir    string `json:"SCHEMA_DIR" db:"SCHEMA_DIR"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL