Documentation ¶
Overview ¶
Package sql 数据库/数据处理相关工具
Index ¶
- type Sqlite
- func (db *Sqlite) Count(table string) (num int, err error)
- func (db *Sqlite) Create(table string, objptr interface{}) (err error)
- func (db *Sqlite) Del(table string, condition string) (err error)
- func (db *Sqlite) Find(table string, objptr interface{}, condition string) (err error)
- func (db *Sqlite) Insert(table string, objptr interface{}) (err error)
- func (db *Sqlite) ListTables() (s []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sqlite ¶
Sqlite 数据库对象
func (*Sqlite) ListTables ¶
ListTables 列出所有表名 返回所有表名+错误
Click to show internal directories.
Click to hide internal directories.