ddlctl

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 30 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 Dump added in v0.0.4

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

func DumpDDL added in v0.0.4

func DumpDDL(ctx context.Context, dialect string, dsn string) (ddl string, err 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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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