Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertObjectIds ¶
func ConvertObjectIds(query map[string]interface{})
func GetAll ¶
func GetAll(c *mgo.Collection, query map[string]interface{}, fields []string, sortBy []string, offset int, limit int, result interface{}) (err error)
GetAll retrieves all records matches certain condition. Returns empty list if no records exist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.