generic

package
v2.0.0-alpha.14 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package generic implements abstract drivers for migrate package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQL

type SQL struct {
	Dialect    string `json:"dialect" yaml:"dialect"`
	DataSource string `json:"dataSource" yaml:"dataSource"`
}

SQL represents an abstract remote sql database driver.

func (SQL) Create

func (r SQL) Create(ctx context.Context, out io.Writer) error

Create executes the resource creation process.

func (SQL) Destroy

func (r SQL) Destroy(ctx context.Context, out io.Writer) error

Destroy executes the resource destruction process.

func (SQL) Source

func (r SQL) Source(ctx context.Context, out io.Writer) error

Source returns the data source name for the driver.

Jump to

Keyboard shortcuts

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