sillyquill_rt

package
v0.0.0-...-a4b336c Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2016 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAndEqualClause

func BuildAndEqualClause(
	w *bytes.Buffer,
	parameterIndex int,
	columns []string)

func BuildInsertQuery

func BuildInsertQuery(
	w *bytes.Buffer,
	tableName string,
	loadColumnNames []string,
	saveColumnNames []string)

func BuildUpdateQuery

func BuildUpdateQuery(
	w *bytes.Buffer,
	tableName string,
	columns []string)

func IsRowDoesNotExist

func IsRowDoesNotExist(err error) bool

Types

type NullNumeric

type NullNumeric Numeric

func (*NullNumeric) Scan

func (this *NullNumeric) Scan(src interface{}) error

func (NullNumeric) Value

func (this NullNumeric) Value() (driver.Value, error)

type Numeric

type Numeric struct {
	dec.Dec
}

func (*Numeric) Scan

func (this *Numeric) Scan(src interface{}) error

func (Numeric) Value

func (this Numeric) Value() (driver.Value, error)

type RowDoesNotExistError

type RowDoesNotExistError struct {
	Instance interface{}
}

func (RowDoesNotExistError) Error

func (this RowDoesNotExistError) Error() string

type RowNotUniquelyIdentifiableError

type RowNotUniquelyIdentifiableError struct {
	Instance interface{}
}

func (RowNotUniquelyIdentifiableError) Error

type Rows

type Rows interface {
	Scanner
	Columns() ([]string, error)
	Next() bool
	Err() error
	Close() error
}

type Scanner

type Scanner interface {
	Scan(...interface{}) error
}

type UnknownColumnError

type UnknownColumnError struct {
	Index int
	Name  string
}

func (UnknownColumnError) Error

func (this UnknownColumnError) Error() string

Jump to

Keyboard shortcuts

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