myparse

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser added in v0.7.1

type Parser struct{}

Parser implements the sqlparse.Parser

func (*Parser) ColumnFilledBefore added in v0.7.1

func (p *Parser) ColumnFilledBefore(f migrate.File, t *schema.Table, c *schema.Column, pos int) (bool, error)

ColumnFilledBefore checks if the column was filled before the given position.

func (*Parser) FixChange added in v0.7.1

func (p *Parser) FixChange(d migrate.Driver, s string, changes schema.Changes) (schema.Changes, error)

FixChange fixes the changes according to the given statement.

Jump to

Keyboard shortcuts

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