mysql

package
v1.0.91 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

func NewWriter

func NewWriter(options *writers.WriterOptions) *Writer

func (*Writer) Statements added in v1.0.90

func (w *Writer) Statements(db *models.Database) ([]string, error)

Statements preflights the whole model, emits conversion diagnostics, and returns executable units. No output files or database connections are opened here.

func (*Writer) WriteDatabase

func (w *Writer) WriteDatabase(db *models.Database) error

func (*Writer) WriteSchema

func (w *Writer) WriteSchema(s *models.Schema) error

func (*Writer) WriteTable

func (w *Writer) WriteTable(t *models.Table) error

Jump to

Keyboard shortcuts

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