phoenix

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPhoenix

func NewPhoenix(dsn string) (m.Driver, error)

NewPhoenix creates a new Apache Phoenix driver. The DSN is documented here: https://github.com/Boostport/avatica#dsn-data-source-name

Types

type Phoenix

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

func (*Phoenix) Close

func (driver *Phoenix) Close() error

Close closes the connection to the Apache Phoenix server.

func (*Phoenix) Migrate

func (driver *Phoenix) Migrate(migration *m.PlannedMigration) error

Migrate runs a migration.

func (*Phoenix) Versions

func (driver *Phoenix) Versions() ([]string, error)

Versions lists all the applied versions.

Jump to

Keyboard shortcuts

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