simpsql

package
v0.0.0-...-6a16b6f Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB

Functions

func DelSchema

func DelSchema(schema string) error

func ExecScript

func ExecScript(tx *sql.Tx, name string) error

func MakeSchema

func MakeSchema(schema string) error

func Open

func Open(sname string) (*script, error)

func SchemaExists

func SchemaExists(schema string) (bool, error)

func UsingSchema

func UsingSchema(schema string) (*sql.Tx, error)

Types

type ScriptError

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

Jump to

Keyboard shortcuts

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