Documentation ¶
Index ¶
- Variables
- func Find(v interface{}, query interface{}) error
- func History(v interface{}, id bson.ObjectId) error
- func HistoryList(v interface{}, id bson.ObjectId, list interface{}) error
- func Insert(v interface{}) error
- func Page(pageNo int, pageSize int, selector interface{}, list interface{}) (int, error)
- func RemoveId(id bson.ObjectId, v interface{}) error
- func Update(v interface{}, id bson.ObjectId, keys ...string) error
- type Tmm
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache struct { // 设置 Set *tmongoSetting // 数据库 Db *mgo.Database }
Functions ¶
func HistoryList ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.