drop

package
v0.0.0-...-28ac8a9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func (*Database) Execute

func (d *Database) Execute() (sql.Result, error)

type DatabaseService

type DatabaseService interface {
	Service
}

func NewDatabase

func NewDatabase(name string, db *sql.DB) DatabaseService

type Service

type Service interface {
	Execute() (sql.Result, error)
	// contains filtered or unexported methods
}

type Table

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

func NewTable

func NewTable(names []string, db *sql.DB) *Table

func (*Table) Execute

func (t *Table) Execute() (sql.Result, error)

func (*Table) Temporary

func (t *Table) Temporary(setTemp bool) *Table

func (*Table) Warning

func (t *Table) Warning() *Warnings

type TableService

type TableService interface {
	Warning() *Warnings
	Temporary(setTemp bool) *Table
	Service
}

type Warnings

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

func NewWarnings

func NewWarnings() *Warnings

func (*Warnings) GetErrorCode

func (w *Warnings) GetErrorCode() int

func (*Warnings) GetErrorMessage

func (w *Warnings) GetErrorMessage() string

Jump to

Keyboard shortcuts

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