executor

package
v1.8.32 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

Executor executes commands

func NewExecutor

func NewExecutor(config *lib.ConfigDatabase, connector connectors.IConnector) *Executor

NewExecutor returns a new Executor

func (*Executor) Connect

func (x *Executor) Connect() (server *schema.Server)

Connect connects

func (*Executor) RunSQL

func (x *Executor) RunSQL(sql string) (e error)

RunSQL runs the sql produced by the `CompareSchema` command against the target database @command compare [reverse] apply

Jump to

Keyboard shortcuts

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