builder

package
v0.0.0-...-4435bac Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 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 Builder

type Builder struct {
	Type      reflect.Type
	Value     reflect.Value
	Dimension int
}

func New

func New(dest interface{}) (*Builder, error)

func (*Builder) Add

func (b *Builder) Add(builder *Builder) error

func (*Builder) Next

func (b *Builder) Next() (*Builder, error)

func (*Builder) OneRowExpected

func (b *Builder) OneRowExpected() bool

func (*Builder) Parameters

func (b *Builder) Parameters(columns []*sql.ColumnType) ([]reflect.Value, error)

func (*Builder) Update

func (b *Builder) Update(params []reflect.Value, columns []*sql.ColumnType) error

Jump to

Keyboard shortcuts

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