parse

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

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

func (*Column) Name

func (c *Column) Name() string

func (*Column) Table

func (c *Column) Table() string

func (*Column) Type

func (c *Column) Type() *sql.ColumnType

type ForeignKey

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

func (*ForeignKey) Name

func (c *ForeignKey) Name() string

type MySQL

type MySQL struct {
	dialect.MySQL
	// contains filtered or unexported fields
}

func NewMySQL

func NewMySQL(dsn string) (*MySQL, error)

func (MySQL) Columns

func (m MySQL) Columns(ctx context.Context, schema, table string) (<-chan generator.Column, <-chan error)

func (MySQL) DBTypesToPaths

func (MySQL) DBTypesToPaths() map[string][2]string

func (MySQL) ForeignKeys

func (m MySQL) ForeignKeys(ctx context.Context, schema, table string) (<-chan generator.ForeignKey, <-chan error)

func (MySQL) Tables

func (m MySQL) Tables(ctx context.Context, schema string) (<-chan string, <-chan error)

Jump to

Keyboard shortcuts

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