sqlparse

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionOptions

type ExecutionOptions struct {
	UseTransaction bool
}

type MigrationScript added in v0.8.0

type MigrationScript struct {
	Contents string
	Options  ExecutionOptions
}

type SqlParser

type SqlParser interface {
	Parse(reader io.Reader) (MigrationScript, MigrationScript, error)
}

func NewSqlParser

func NewSqlParser() SqlParser

NewSqlParser creates a new SqlParser which can parse out a migration script.

Jump to

Keyboard shortcuts

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