database

package
v0.10.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	InputDir  string
	OutputDir string
	Driver    string
	URI       string
}

func (*Database) ApplySync

func (d *Database) ApplySync(statements []string) error

func (*Database) CreateFixturesSync

func (d *Database) CreateFixturesSync() error

func (*Database) PlanSync added in v0.8.0

func (d *Database) PlanSync(specContents []byte) ([]string, error)

func (*Database) PlanSyncFromFile added in v0.10.0

func (d *Database) PlanSyncFromFile(filename string) ([]string, error)

func (*Database) PlanSyncTableSpec added in v0.10.0

func (d *Database) PlanSyncTableSpec(spec *schemasv1alpha4.TableSpec) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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