cacoo

package
v1.37.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVRow

type CSVRow struct {
	DBMS            string `csv:"dbms"`
	TableSchema     string `csv:"table_schema"`
	TableName       string `csv:"table_name"`
	ColumnName      string `csv:"column_name"`
	OrdinalPosition string `csv:"ordinal_position"`
	DataType        string `csv:"data_type"`
	CharMaxLength   string `csv:"character_maximum_length"`
	ConstraintType  string `csv:"constraint_type"`
	RefTableSchema  string `csv:"referenced_table_schema"`
	RefTableName    string `csv:"referenced_table_name"`
	RefColumnName   string `csv:"referenced_column_name"`
}

type Cacoo

type Cacoo struct {
	// contains filtered or unexported fields
}

Cacoo struct

func New

func New(c *config.Config) *Cacoo

New return Cacoo

func (*Cacoo) OutputSchema

func (cc *Cacoo) OutputSchema(wr io.Writer, s *schema.Schema) error

OutputSchema output dot format for full relation.

func (*Cacoo) OutputTable

func (cc *Cacoo) OutputTable(wr io.Writer, t *schema.Table) error

OutputTable output dot format for table.

Jump to

Keyboard shortcuts

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