Documentation ¶
Index ¶
- Variables
- func Init(path string, sq *Sqlite, prepareFunc DatabasePrepareFunc) error
- type DatabasePrepareFunc
- type InitFunc
- type Sqlite
- func (sq *Sqlite) ArbitraryExec(statement string) error
- func (sq *Sqlite) Close() error
- func (sq *Sqlite) Delete(tableName string, keyColumn string, keyValue string) error
- func (sq *Sqlite) Insert(tableName string, columns, values []string) error
- func (sq *Sqlite) Query(query string) (*sql.Rows, error)
- func (sq *Sqlite) Update(tableName, keyColumn, keyValue string, columns, values []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ColValLengthError = errors.New("the columns and values slices must be of the same size")
Functions ¶
Types ¶
type DatabasePrepareFunc ¶
Click to show internal directories.
Click to hide internal directories.