Documentation ¶
Index ¶
- Variables
- type Driver
- func (drv *Driver) BindParameter(tabName string, at dna.At) ([]driver.NamedValue, error)
- func (drv *Driver) Close() error
- func (drv *Driver) ColumnSpecs(fldList []dna.FieldSpec, pkIndex int) (string, []int)
- func (drv *Driver) CreateTable(tabName string, fieldSpecs []dna.FieldSpec) error
- func (drv *Driver) Delete(tabName string, at dna.At) error
- func (drv *Driver) Exists(tabName string) bool
- func (drv *Driver) Insert(tabName string, pk driver.NamedValue, parms []driver.NamedValue) (dna.PK, error)
- func (drv *Driver) PKName() string
- func (drv *Driver) Prepare(stmtSpec *dna.StmtSpec) error
- func (drv *Driver) Select(tabName string, at dna.At, fn func(dna.Scanner) error) error
- func (drv *Driver) Update(tabName string, pk driver.NamedValue, parms []driver.NamedValue) error
- type GooseG
- type Scanner
- type Stmt
Constants ¶
This section is empty.
Variables ¶
View Source
var BigFloat reflect.Type = reflect.TypeOf(b2)
View Source
var BigInt reflect.Type = reflect.TypeOf(b)
View Source
var ErrNoColumns error = errors.New("No columns")
View Source
var ErrNoStmtForRule error = errors.New("No prepared statements for this rule")
View Source
var ErrNoStmtForTable error = errors.New("No prepared statements for this table")
View Source
var ErrSyntax error = errors.New("Syntax error")
View Source
var ErrUnknownFunc error = errors.New("Unknown function")
View Source
var ErrUnsupportedClause error = errors.New("Unsupported clause")
var tmFmt map[string]string var functions map[string]fnSpec
View Source
var ErrUnsupportedType error = errors.New("Unsupported type")
View Source
var Time reflect.Type = reflect.TypeOf(t)
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) BindParameter ¶
func (*Driver) ColumnSpecs ¶
func (*Driver) CreateTable ¶
func (*Driver) Insert ¶
func (drv *Driver) Insert(tabName string, pk driver.NamedValue, parms []driver.NamedValue) (dna.PK, error)
func (*Driver) Update ¶
func (drv *Driver) Update(tabName string, pk driver.NamedValue, parms []driver.NamedValue) error
Click to show internal directories.
Click to hide internal directories.