Documentation
¶
Index ¶
- func Count(session *mgo.Session, db string, collection string) int64
- func CreateMongoSession(cfg *config.MongoConnConfig) (*mgo.Session, error)
- func IsDeadSignal(op *gtm.Op, pipeline string) bool
- func IsEmpty(session *mgo.Session, db string, collection string) bool
- func ListAllUserCollections(session *mgo.Session) map[string][]string
- func SendDeadSignal(session *mgo.Session, pipeline string) error
- type MinMax
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMongoSession ¶
func CreateMongoSession(cfg *config.MongoConnConfig) (*mgo.Session, error)
func ListAllUserCollections ¶ added in v0.9.36
Types ¶
type MinMax ¶ added in v0.9.25
type MinMax struct { Min interface{} Max interface{} }
func BucketAuto ¶ added in v0.9.25
Click to show internal directories.
Click to hide internal directories.