sel

package
v0.0.0-...-c0700b7 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2017 License: BSD-2-Clause-Views Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(tree sqlparser.SelectStatement, result interface{}, src base.Obj) error

Do SELECT

func DoAry

func DoAry(tree sqlparser.SelectStatement, src base.Obj, ctx context.Context) (driver.Rows, error)

func GetChan

func GetChan(selStmt sqlparser.SelectStatement, src base.Obj, ctx context.Context) (chOut chan base.GetChanError, colCh chan []string)

GetChan for when you want a stream of results

Types

type CancelWithError

type CancelWithError func(e error)

type Rows

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

func (*Rows) Close

func (r *Rows) Close() error

func (*Rows) Columns

func (r *Rows) Columns() []string

func (*Rows) Next

func (r *Rows) Next(dest []driver.Value) error

type SubqueryRunnerImpl

type SubqueryRunnerImpl struct {
}

Jump to

Keyboard shortcuts

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