pipe

package
v0.0.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocGroupId

type DocGroupId bson.D

type Pipeline

type Pipeline struct {
	// contains filtered or unexported fields
}

func (*Pipeline) Count

func (p *Pipeline) Count(target string) *Pipeline

func (*Pipeline) Documents

func (p *Pipeline) Documents(docs []any) *Pipeline

func (*Pipeline) GraphLookup

func (p *Pipeline) GraphLookup(join *aggregate.GraphLookup) *Pipeline

func (*Pipeline) Group

func (p *Pipeline) Group(id groupId, fields ...model.Pair[bson.M]) *Pipeline

func (*Pipeline) Limit

func (p *Pipeline) Limit(value int64) *Pipeline

func (*Pipeline) Lookup

func (p *Pipeline) Lookup(join *aggregate.Lookup) *Pipeline

func (*Pipeline) Marshal

func (p *Pipeline) Marshal() mongo.Pipeline

func (*Pipeline) Match

func (p *Pipeline) Match(match *filters.Filter) *Pipeline

func (*Pipeline) Project

func (p *Pipeline) Project(fields ...model.Pair[bool]) *Pipeline

func (*Pipeline) Sort

func (p *Pipeline) Sort(sort *sorts.SortOptions) *Pipeline

func (*Pipeline) Unset

func (p *Pipeline) Unset(fields ...string) *Pipeline

type StringGroupId

type StringGroupId string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL