Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchLog ¶
func SearchLog(collectionName string, query bson.M, sort string, fields bson.M, skip int, limit int) (results []interface{}, err error)
*
- 执行查询,此方法可拆分做为公共方法
- [Search description]
- @param {[type]} collectionName string [description]
- @param {[type]} query bson.M [description]
- @param {[type]} sort bson.M [description]
- @param {[type]} fields bson.M [description]
- @param {[type]} skip int [description]
- @param {[type]} limit int) (results []interface{}, err error [description]
Types ¶
Click to show internal directories.
Click to hide internal directories.