Documentation ¶
Index ¶
- Constants
- func Add(key string, expression ...any) bson.D
- func AddWithoutKey(expression ...any) bson.D
- func And(key string, expressions ...any) bson.D
- func AndWithoutKey(expressions ...any) bson.D
- func ArrayElemAt(key string, expression any, index int64) bson.D
- func ArrayElemAtWithoutKey(expression any, index int64) bson.D
- func ArrayToObject(key string, expression any) bson.D
- func ArrayToObjectWithoutKey(expression any) bson.D
- func Avg(key string, expression any) bson.D
- func AvgWithoutKey(expression any) bson.D
- func Concat(key string, expressions ...any) bson.D
- func ConcatArrays(key string, arrays ...any) bson.D
- func ConcatArraysWithoutKey(arrays ...any) bson.D
- func ConcatWithoutKey(expressions ...any) bson.D
- func Cond(key string, boolExpr, tureExpr, falseExpr any) bson.D
- func CondWithoutKey(boolExpr, tureExpr, falseExpr any) bson.D
- func Contact(key string, expressions ...any) bson.D
- func ContactWithoutKey(expressions ...any) bson.D
- func DateToString(key string, date any, opt *types.DateToStringOptions) bson.D
- func DateToStringWithoutKey(date any, opt *types.DateToStringOptions) bson.D
- func DayOfMonth(key string, date time.Time) bson.D
- func DayOfMonthWithTimezone(key string, date time.Time, timezone string) bson.D
- func DayOfMonthWithTimezoneWithoutKey(date time.Time, timezone string) bson.D
- func DayOfMonthWithoutKey(date time.Time) bson.D
- func DayOfWeek(key string, date time.Time) bson.D
- func DayOfWeekWithTimezone(key string, date time.Time, timezone string) bson.D
- func DayOfWeekWithTimezoneWithoutKey(date time.Time, timezone string) bson.D
- func DayOfWeekWithoutKey(date time.Time) bson.D
- func DayOfYear(key string, date time.Time) bson.D
- func DayOfYearWithTimezone(key string, date time.Time, timezone string) bson.D
- func DayOfYearWithTimezoneWithoutKey(date time.Time, timezone string) bson.D
- func DayOfYearWithoutKey(date time.Time) bson.D
- func Divide(key string, expressions ...any) bson.D
- func DivideWithoutKey(expressions ...any) bson.D
- func Eq(key string, expressions ...any) bson.D
- func EqWithoutKey(expressions ...any) bson.D
- func Filter(key string, inputArray any, cond any, opt *types.FilterOptions) bson.D
- func FilterWithoutKey(inputArray any, cond any, opt *types.FilterOptions) bson.D
- func First(key string, expression any) bson.D
- func FirstWithoutKey(expression any) bson.D
- func Gt(key string, expressions ...any) bson.D
- func GtWithoutKey(expressions ...any) bson.D
- func Gte(key string, expressions ...any) bson.D
- func GteWithoutKey(expressions ...any) bson.D
- func IfNull(key string, expr, replacement any) bson.D
- func IfNullWithoutKey(expr, replacement any) bson.D
- func Last(key string, expression any) bson.D
- func LastWithoutKey(expression any) bson.D
- func Lt(key string, expressions ...any) bson.D
- func LtWithoutKey(expressions ...any) bson.D
- func Lte(key string, expressions ...any) bson.D
- func LteWithoutKey(expressions ...any) bson.D
- func Map(key string, inputArray any, as string, in any) bson.D
- func MapWithoutKey(inputArray any, as string, in any) bson.D
- func Max(key string, expression any) bson.D
- func MaxWithoutKey(expression any) bson.D
- func Min(key string, expression any) bson.D
- func MinWithoutKey(expression any) bson.D
- func Mod(key string, expressions ...any) bson.D
- func ModWithoutKey(expressions ...any) bson.D
- func Month(key string, date time.Time) bson.D
- func MonthWithTimezone(key string, date time.Time, timezone string) bson.D
- func MonthWithTimezoneWithoutKey(date time.Time, timezone string) bson.D
- func MonthWithoutKey(date time.Time) bson.D
- func Multiply(key string, expressions ...any) bson.D
- func MultiplyWithoutKey(expressions ...any) bson.D
- func Ne(key string, expressions ...any) bson.D
- func NeWithoutKey(expressions ...any) bson.D
- func Not(key string, expressions ...any) bson.D
- func NotWithoutKey(expressions ...any) bson.D
- func Or(key string, expressions ...any) bson.D
- func OrWithoutKey(expressions ...any) bson.D
- func Push(key string, expression any) bson.D
- func PushWithoutKey(expression any) bson.D
- func Size(key string, expression any) bson.D
- func SizeWithoutKey(expression any) bson.D
- func Slice(key string, array any, nElements int64) bson.D
- func SliceWithPosition(key string, array any, position, nElements int64) bson.D
- func SliceWithPositionWithoutKey(array any, position, nElements int64) bson.D
- func SliceWithoutKey(array any, nElements int64) bson.D
- func SubstrBytes(key string, stringExpression string, byteIndex int64, byteCount int64) bson.D
- func SubstrBytesWithoutKey(stringExpression string, byteIndex int64, byteCount int64) bson.D
- func Subtract(key string, expression ...any) bson.D
- func SubtractWithoutKey(expressions ...any) bson.D
- func Sum(key string, expression any) bson.D
- func SumWithoutKey(expression any) bson.D
- func Switch(key string, cases []types.CaseThen, defaultCase any) bson.D
- func SwitchWithoutKey(cases []types.CaseThen, defaultCase any) bson.D
- func ToLower(key string, expression any) bson.D
- func ToLowerWithoutKey(expression any) bson.D
- func ToUpper(key string, expression any) bson.D
- func ToUpperWithoutKey(expression any) bson.D
- func Week(key string, date time.Time) bson.D
- func WeekWithTimezone(key string, date time.Time, timezone string) bson.D
- func WeekWithTimezoneWithoutKey(date time.Time, timezone string) bson.D
- func WeekWithoutKey(date time.Time) bson.D
- func Year(key string, date time.Time) bson.D
- func YearWithTimezone(key string, date time.Time, timezone string) bson.D
- func YearWithTimezoneWithoutKey(date time.Time, timezone string) bson.D
- func YearWithoutKey(date time.Time) bson.D
- type Builder
- func (b *Builder) Add(key string, expressions ...any) *Builder
- func (b *Builder) AddKeyValues(key string, value any) *Builder
- func (b *Builder) AddWithoutKey(expressions ...any) *Builder
- func (b *Builder) And(key string, expressions ...any) *Builder
- func (b *Builder) AndWithoutKey(expressions ...any) *Builder
- func (b *Builder) ArrayElemAt(key string, expression any, index int64) *Builder
- func (b *Builder) ArrayElemAtWithoutKey(expression any, index int64) *Builder
- func (b *Builder) ArrayToObject(key string, expression any) *Builder
- func (b *Builder) ArrayToObjectWithoutKey(expression any) *Builder
- func (b *Builder) Avg(key string, expression any) *Builder
- func (b *Builder) AvgWithoutKey(expression any) *Builder
- func (b *Builder) Build() bson.D
- func (b *Builder) Concat(key string, expressions ...any) *Builder
- func (b *Builder) ConcatArrays(key string, arrays ...any) *Builder
- func (b *Builder) ConcatArraysWithoutKey(arrays ...any) *Builder
- func (b *Builder) ConcatWithoutKey(expressions ...any) *Builder
- func (b Builder) Cond(key string, boolExpr, tureExpr, falseExpr any) *Builder
- func (b Builder) CondWithoutKey(boolExpr, tureExpr, falseExpr any) *Builder
- func (b *Builder) Contact(key string, expressions ...any) *Builder
- func (b *Builder) ContactWithoutKey(expressions ...any) *Builder
- func (b *Builder) DateToString(key string, date any, opt *types.DateToStringOptions) *Builder
- func (b *Builder) DateToStringWithoutKey(date any, opt *types.DateToStringOptions) *Builder
- func (b *Builder) DayOfMonth(key string, date time.Time) *Builder
- func (b *Builder) DayOfMonthWithTimezone(key string, date time.Time, timezone string) *Builder
- func (b *Builder) DayOfMonthWithTimezoneWithoutKey(date time.Time, timezone string) *Builder
- func (b *Builder) DayOfMonthWithoutKey(date time.Time) *Builder
- func (b *Builder) DayOfWeek(key string, date time.Time) *Builder
- func (b *Builder) DayOfWeekWithTimezone(key string, date time.Time, timezone string) *Builder
- func (b *Builder) DayOfWeekWithTimezoneWithoutKey(date time.Time, timezone string) *Builder
- func (b *Builder) DayOfWeekWithoutKey(date time.Time) *Builder
- func (b *Builder) DayOfYear(key string, date time.Time) *Builder
- func (b *Builder) DayOfYearWithTimezone(key string, date time.Time, timezone string) *Builder
- func (b *Builder) DayOfYearWithTimezoneWithoutKey(date time.Time, timezone string) *Builder
- func (b *Builder) DayOfYearWithoutKey(date time.Time) *Builder
- func (b *Builder) Divide(key string, expressions ...any) *Builder
- func (b *Builder) DivideWithoutKey(expressions ...any) *Builder
- func (b *Builder) Eq(key string, expressions ...any) *Builder
- func (b *Builder) EqWithoutKey(expressions ...any) *Builder
- func (b *Builder) Filter(key string, inputArray any, cond any, opt *types.FilterOptions) *Builder
- func (b *Builder) FilterWithoutKey(inputArray any, cond any, opt *types.FilterOptions) *Builder
- func (b *Builder) First(key string, expression any) *Builder
- func (b *Builder) FirstWithoutKey(expression any) *Builder
- func (b *Builder) Gt(key string, expressions ...any) *Builder
- func (b *Builder) GtWithoutKey(expressions ...any) *Builder
- func (b *Builder) Gte(key string, expressions ...any) *Builder
- func (b *Builder) GteWithoutKey(expressions ...any) *Builder
- func (b Builder) IfNull(key string, expr, replacement any) *Builder
- func (b Builder) IfNullWithoutKey(expr, replacement any) *Builder
- func (b *Builder) Last(key string, expression any) *Builder
- func (b *Builder) LastWithoutKey(expression any) *Builder
- func (b *Builder) Lt(key string, expressions ...any) *Builder
- func (b *Builder) LtWithoutKey(expressions ...any) *Builder
- func (b *Builder) Lte(key string, expressions ...any) *Builder
- func (b *Builder) LteWithoutKey(expressions ...any) *Builder
- func (b *Builder) Map(key string, inputArray any, as string, in any) *Builder
- func (b *Builder) MapWithoutKey(inputArray any, as string, in any) *Builder
- func (b *Builder) Max(key string, expression any) *Builder
- func (b *Builder) MaxWithoutKey(expression any) *Builder
- func (b *Builder) Min(key string, expression any) *Builder
- func (b *Builder) MinWithoutKey(expression any) *Builder
- func (b *Builder) Mod(key string, expressions ...any) *Builder
- func (b *Builder) ModWithoutKey(expressions ...any) *Builder
- func (b *Builder) Month(key string, date time.Time) *Builder
- func (b *Builder) MonthWithTimezone(key string, date time.Time, timezone string) *Builder
- func (b *Builder) MonthWithTimezoneWithoutKey(date time.Time, timezone string) *Builder
- func (b *Builder) MonthWithoutKey(date time.Time) *Builder
- func (b *Builder) Multiply(key string, expressions ...any) *Builder
- func (b *Builder) MultiplyWithoutKey(expressions ...any) *Builder
- func (b *Builder) Ne(key string, expressions ...any) *Builder
- func (b *Builder) NeWithoutKey(expressions ...any) *Builder
- func (b *Builder) Not(key string, expressions ...any) *Builder
- func (b *Builder) NotWithoutKey(expressions ...any) *Builder
- func (b *Builder) Or(key string, expressions ...any) *Builder
- func (b *Builder) OrWithoutKey(expressions ...any) *Builder
- func (b *Builder) Push(key string, expression any) *Builder
- func (b *Builder) PushWithoutKey(expression any) *Builder
- func (b *Builder) Size(key string, expression any) *Builder
- func (b *Builder) SizeWithoutKey(expression any) *Builder
- func (b *Builder) Slice(key string, array any, nElements int64) *Builder
- func (b *Builder) SliceWithPosition(key string, array any, position, nElements int64) *Builder
- func (b *Builder) SliceWithPositionWithoutKey(array any, position, nElements int64) *Builder
- func (b *Builder) SliceWithoutKey(array any, nElements int64) *Builder
- func (b *Builder) SubstrBytes(key string, stringExpression string, byteIndex int64, byteCount int64) *Builder
- func (b *Builder) SubstrBytesWithoutKey(stringExpression string, byteIndex int64, byteCount int64) *Builder
- func (b *Builder) Subtract(key string, expressions ...any) *Builder
- func (b *Builder) SubtractWithoutKey(expressions ...any) *Builder
- func (b *Builder) Sum(key string, expression any) *Builder
- func (b *Builder) SumWithoutKey(expression any) *Builder
- func (b Builder) Switch(key string, cases []types.CaseThen, defaultCase any) *Builder
- func (b Builder) SwitchWithoutKey(cases []types.CaseThen, defaultCase any) *Builder
- func (b *Builder) ToLower(key string, expression any) *Builder
- func (b *Builder) ToLowerWithoutKey(expression any) *Builder
- func (b *Builder) ToUpper(key string, expression any) *Builder
- func (b *Builder) ToUpperWithoutKey(expression any) *Builder
- func (b *Builder) Week(key string, date time.Time) *Builder
- func (b *Builder) WeekWithTimezone(key string, date time.Time, timezone string) *Builder
- func (b *Builder) WeekWithTimezoneWithoutKey(date time.Time, timezone string) *Builder
- func (b *Builder) WeekWithoutKey(date time.Time) *Builder
- func (b *Builder) Year(key string, date time.Time) *Builder
- func (b *Builder) YearWithTimezone(key string, date time.Time, timezone string) *Builder
- func (b *Builder) YearWithTimezoneWithoutKey(date time.Time, timezone string) *Builder
- func (b *Builder) YearWithoutKey(date time.Time) *Builder
- type LookUpOptions
- type StageBuilder
- func (b *StageBuilder) AddFields(value any) *StageBuilder
- func (b *StageBuilder) Bucket(groupBy any, boundaries []any, opt *types.BucketOptions) *StageBuilder
- func (b *StageBuilder) BucketAuto(groupBy any, buckets int, opt *types.BucketAutoOptions) *StageBuilder
- func (b *StageBuilder) Build() mongo.Pipeline
- func (b *StageBuilder) Count(countName string) *StageBuilder
- func (b *StageBuilder) Facet(value any) *StageBuilder
- func (b *StageBuilder) Group(id any, accumulators ...bson.E) *StageBuilder
- func (b *StageBuilder) Limit(limit int64) *StageBuilder
- func (b *StageBuilder) Lookup(from, as string, opt *LookUpOptions) *StageBuilder
- func (b *StageBuilder) Match(expression any) *StageBuilder
- func (b *StageBuilder) Project(value any) *StageBuilder
- func (b *StageBuilder) ReplaceWith(replacementDocument any) *StageBuilder
- func (b *StageBuilder) Set(value any) *StageBuilder
- func (b *StageBuilder) Skip(skip int64) *StageBuilder
- func (b *StageBuilder) Sort(value any) *StageBuilder
- func (b *StageBuilder) SortByCount(expression any) *StageBuilder
- func (b *StageBuilder) Unwind(path string, opt *types.UnWindOptions) *StageBuilder
Constants ¶
View Source
const (
StageLookUp = "$lookup"
)
Variables ¶
This section is empty.
Functions ¶
func AddWithoutKey ¶ added in v0.9.0
func AndWithoutKey ¶ added in v0.9.0
func ArrayElemAtWithoutKey ¶ added in v0.9.0
func ArrayToObjectWithoutKey ¶ added in v0.9.0
func AvgWithoutKey ¶ added in v0.9.0
func ConcatArraysWithoutKey ¶ added in v0.9.0
func ConcatWithoutKey ¶ added in v0.9.0
func CondWithoutKey ¶ added in v0.9.0
func ContactWithoutKey ¶ added in v0.9.0
func DateToString ¶ added in v0.4.0
func DateToStringWithoutKey ¶ added in v0.9.0
func DateToStringWithoutKey(date any, opt *types.DateToStringOptions) bson.D
func DayOfMonthWithTimezone ¶ added in v0.4.0
func DayOfMonthWithTimezoneWithoutKey ¶ added in v0.9.0
func DayOfWeekWithTimezone ¶ added in v0.4.0
func DayOfWeekWithTimezoneWithoutKey ¶ added in v0.9.0
func DayOfYearWithTimezone ¶ added in v0.4.0
func DayOfYearWithTimezoneWithoutKey ¶ added in v0.9.0
func DivideWithoutKey ¶ added in v0.9.0
func EqWithoutKey ¶ added in v0.9.0
func FilterWithoutKey ¶ added in v0.9.0
func FirstWithoutKey ¶ added in v0.9.0
func GtWithoutKey ¶ added in v0.9.0
func GteWithoutKey ¶ added in v0.9.0
func IfNullWithoutKey ¶ added in v0.9.0
func LastWithoutKey ¶ added in v0.9.0
func LtWithoutKey ¶ added in v0.9.0
func LteWithoutKey ¶ added in v0.9.0
func MaxWithoutKey ¶ added in v0.9.0
func MinWithoutKey ¶ added in v0.9.0
func ModWithoutKey ¶ added in v0.9.0
func MonthWithTimezone ¶ added in v0.4.0
func MonthWithTimezoneWithoutKey ¶ added in v0.9.0
func MultiplyWithoutKey ¶ added in v0.9.0
func NeWithoutKey ¶ added in v0.9.0
func NotWithoutKey ¶ added in v0.9.0
func OrWithoutKey ¶ added in v0.9.0
func PushWithoutKey ¶ added in v0.9.0
func SizeWithoutKey ¶ added in v0.9.0
func SliceWithPosition ¶ added in v0.4.0
func SliceWithPositionWithoutKey ¶ added in v0.9.0
func SubstrBytes ¶ added in v0.4.0
func SubstrBytesWithoutKey ¶ added in v0.9.0
func SubtractWithoutKey ¶ added in v0.9.0
func SumWithoutKey ¶ added in v0.9.0
func SwitchWithoutKey ¶ added in v0.9.0
func ToLowerWithoutKey ¶ added in v0.9.0
func ToUpperWithoutKey ¶ added in v0.9.0
func WeekWithTimezone ¶ added in v0.4.0
func WeekWithTimezoneWithoutKey ¶ added in v0.9.0
func YearWithTimezone ¶ added in v0.4.0
func YearWithTimezoneWithoutKey ¶ added in v0.9.0
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func BsonBuilder ¶
func BsonBuilder() *Builder
func (*Builder) AddWithoutKey ¶ added in v0.9.0
func (*Builder) AndWithoutKey ¶ added in v0.9.0
func (*Builder) ArrayElemAt ¶
func (*Builder) ArrayElemAtWithoutKey ¶ added in v0.9.0
func (*Builder) ArrayToObject ¶
func (*Builder) ArrayToObjectWithoutKey ¶ added in v0.9.0
func (*Builder) AvgWithoutKey ¶ added in v0.9.0
func (*Builder) ConcatArrays ¶
func (*Builder) ConcatArraysWithoutKey ¶ added in v0.9.0
func (*Builder) ConcatWithoutKey ¶ added in v0.9.0
func (Builder) CondWithoutKey ¶ added in v0.9.0
func (*Builder) ContactWithoutKey ¶ added in v0.9.0
func (*Builder) DateToString ¶
func (b *Builder) DateToString(key string, date any, opt *types.DateToStringOptions) *Builder
func (*Builder) DateToStringWithoutKey ¶ added in v0.9.0
func (b *Builder) DateToStringWithoutKey(date any, opt *types.DateToStringOptions) *Builder
func (*Builder) DayOfMonthWithTimezone ¶
func (*Builder) DayOfMonthWithTimezoneWithoutKey ¶ added in v0.9.0
func (*Builder) DayOfMonthWithoutKey ¶ added in v0.9.0
func (*Builder) DayOfWeekWithTimezone ¶
func (*Builder) DayOfWeekWithTimezoneWithoutKey ¶ added in v0.9.0
func (*Builder) DayOfWeekWithoutKey ¶ added in v0.9.0
func (*Builder) DayOfYearWithTimezone ¶
func (*Builder) DayOfYearWithTimezoneWithoutKey ¶ added in v0.9.0
func (*Builder) DayOfYearWithoutKey ¶ added in v0.9.0
func (*Builder) DivideWithoutKey ¶ added in v0.9.0
func (*Builder) EqWithoutKey ¶ added in v0.9.0
func (*Builder) FilterWithoutKey ¶ added in v0.9.0
func (b *Builder) FilterWithoutKey(inputArray any, cond any, opt *types.FilterOptions) *Builder
func (*Builder) FirstWithoutKey ¶ added in v0.9.0
func (*Builder) GtWithoutKey ¶ added in v0.9.0
func (*Builder) GteWithoutKey ¶ added in v0.9.0
func (Builder) IfNullWithoutKey ¶ added in v0.9.0
func (*Builder) LastWithoutKey ¶ added in v0.9.0
func (*Builder) LtWithoutKey ¶ added in v0.9.0
func (*Builder) LteWithoutKey ¶ added in v0.9.0
func (*Builder) MapWithoutKey ¶ added in v0.9.0
func (*Builder) MaxWithoutKey ¶ added in v0.9.0
func (*Builder) MinWithoutKey ¶ added in v0.9.0
func (*Builder) ModWithoutKey ¶ added in v0.9.0
func (*Builder) MonthWithTimezone ¶
func (*Builder) MonthWithTimezoneWithoutKey ¶ added in v0.9.0
func (*Builder) MonthWithoutKey ¶ added in v0.9.0
func (*Builder) MultiplyWithoutKey ¶ added in v0.9.0
func (*Builder) NeWithoutKey ¶ added in v0.9.0
func (*Builder) NotWithoutKey ¶ added in v0.9.0
func (*Builder) OrWithoutKey ¶ added in v0.9.0
func (*Builder) PushWithoutKey ¶ added in v0.9.0
func (*Builder) SizeWithoutKey ¶ added in v0.9.0
func (*Builder) SliceWithPosition ¶
func (*Builder) SliceWithPositionWithoutKey ¶ added in v0.9.0
func (*Builder) SliceWithoutKey ¶ added in v0.9.0
func (*Builder) SubstrBytes ¶
func (*Builder) SubstrBytesWithoutKey ¶ added in v0.9.0
func (*Builder) SubtractWithoutKey ¶ added in v0.9.0
func (*Builder) SumWithoutKey ¶ added in v0.9.0
func (Builder) SwitchWithoutKey ¶ added in v0.9.0
func (*Builder) ToLowerWithoutKey ¶ added in v0.9.0
func (*Builder) ToUpperWithoutKey ¶ added in v0.9.0
func (*Builder) WeekWithTimezone ¶
func (*Builder) WeekWithTimezoneWithoutKey ¶ added in v0.9.0
func (*Builder) WeekWithoutKey ¶ added in v0.9.0
func (*Builder) YearWithTimezone ¶
func (*Builder) YearWithTimezoneWithoutKey ¶ added in v0.9.0
func (*Builder) YearWithoutKey ¶ added in v0.9.0
type LookUpOptions ¶ added in v0.18.0
type StageBuilder ¶
type StageBuilder struct {
// contains filtered or unexported fields
}
func StageBsonBuilder ¶
func StageBsonBuilder() *StageBuilder
func (*StageBuilder) AddFields ¶
func (b *StageBuilder) AddFields(value any) *StageBuilder
func (*StageBuilder) Bucket ¶
func (b *StageBuilder) Bucket(groupBy any, boundaries []any, opt *types.BucketOptions) *StageBuilder
func (*StageBuilder) BucketAuto ¶
func (b *StageBuilder) BucketAuto(groupBy any, buckets int, opt *types.BucketAutoOptions) *StageBuilder
func (*StageBuilder) Build ¶
func (b *StageBuilder) Build() mongo.Pipeline
func (*StageBuilder) Count ¶
func (b *StageBuilder) Count(countName string) *StageBuilder
func (*StageBuilder) Facet ¶
func (b *StageBuilder) Facet(value any) *StageBuilder
func (*StageBuilder) Group ¶
func (b *StageBuilder) Group(id any, accumulators ...bson.E) *StageBuilder
func (*StageBuilder) Limit ¶
func (b *StageBuilder) Limit(limit int64) *StageBuilder
func (*StageBuilder) Lookup ¶ added in v0.18.0
func (b *StageBuilder) Lookup(from, as string, opt *LookUpOptions) *StageBuilder
func (*StageBuilder) Match ¶
func (b *StageBuilder) Match(expression any) *StageBuilder
func (*StageBuilder) Project ¶
func (b *StageBuilder) Project(value any) *StageBuilder
func (*StageBuilder) ReplaceWith ¶
func (b *StageBuilder) ReplaceWith(replacementDocument any) *StageBuilder
func (*StageBuilder) Set ¶
func (b *StageBuilder) Set(value any) *StageBuilder
func (*StageBuilder) Skip ¶
func (b *StageBuilder) Skip(skip int64) *StageBuilder
func (*StageBuilder) Sort ¶
func (b *StageBuilder) Sort(value any) *StageBuilder
func (*StageBuilder) SortByCount ¶
func (b *StageBuilder) SortByCount(expression any) *StageBuilder
func (*StageBuilder) Unwind ¶
func (b *StageBuilder) Unwind(path string, opt *types.UnWindOptions) *StageBuilder
Source Files ¶
Click to show internal directories.
Click to hide internal directories.