Documentation
¶
Index ¶
- func Aggregate(db, col string, pipeline interface{}, res interface{}) (err error)
- func Close()
- func Count(db, col string, selector interface{}) (ret int, err error)
- func Find(db string, col string, query interface{}, sort interface{}) (ret []map[string]interface{}, err error)
- func FindOne(db string, col string, query interface{}) (ret map[string]interface{}, err error)
- func FindWithRes(db string, col string, query interface{}, sort []string, limit [2]int, ...) (err error)
- func Init() error
- func Insert(db, col string, doc interface{}) (err error)
- func One(db string, col string, query interface{}, res interface{}) (ret bool, err error)
- func Remove(db, col string, selector interface{}) (err error)
- func Update(db, col string, selector interface{}, doc interface{}) (err error)
- func Upsert(db, col string, selector interface{}, doc interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindWithRes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.