Documentation
¶
Index ¶
- Variables
- type Driver
- func (drv *Driver) BindParameter(tabName string, at dna.At, stmt *sqlite.Stmt) 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, parms ...interface{}) (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, parms ...interface{}) error
- type GooseG
Constants ¶
This section is empty.
Variables ¶
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
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 ¶
Click to show internal directories.
Click to hide internal directories.