Versions in this module Expand all Collapse all v2 v2.0.0 Feb 21, 2020 Changes in this version + func S(operators ...Operator) bson.M + type BaseOperator struct + func (operator *BaseOperator) GetKey() string + func (operator *BaseOperator) GetVal() interface{} + type Operator interface + GetKey func() string + GetVal func() interface{} + func Bucket(groupBy, boundaries, def, output interface{}) Operator + func BucketAuto(groupBy, buckets, output, granularity interface{}) Operator + func CollStats(latencyStats, storageStats, count interface{}) Operator + func CurrentOp(allUsers, idleConnections, idleCursors, idleSessions, localOps interface{}) Operator + func Group(ID interface{}, params bson.M) Operator + func Lookup(from, localField, foreignField, as interface{}) Operator + func Merge(into, on, let, whenMatched, whenNotMatched interface{}) Operator + func New(key string, val interface{}) Operator + func ReplaceRoot(newRoot interface{}) Operator + func Sample(size interface{}) Operator + func UncorrelatedLookup(from, let, pipeline, as interface{}) Operator + func Unwind(path, includeArrayIndex, preserveNullAndEmptyArrays interface{}) Operator + type SMap struct + Operators []Operator + func (s *SMap) ToMap() bson.M Other modules containing this package github.com/Kamva/mgm github.com/Kamva/mgm/v3