ddlctl

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.0.2

func Apply(ctx context.Context, args []string) (err error)

func DDLCtl

func DDLCtl(ctx context.Context) error

func Diff

func Diff(ctx context.Context, args []string) error

func DiffDDL added in v0.0.4

func DiffDDL(out io.Writer, dialect string, srcDDL string, dstDDL string) error

func Fprint added in v0.0.4

func Fprint(w io.Writer, dialect string, ddl *generator.DDL) error

func Generate

func Generate(ctx context.Context, _ []string) error

func Parse added in v0.0.4

func Parse(ctx context.Context, language string, src string) (*generator.DDL, error)

func Show added in v0.0.5

func Show(ctx context.Context, args []string) error

func ShowDDL added in v0.0.5

func ShowDDL(ctx context.Context, dialect string, dsn string) (ddl string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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