aggregate

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphLookup

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

func (*GraphLookup) Marshal

func (l *GraphLookup) Marshal() bson.D

type Lookup

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

func NewLookup

func NewLookup(from, as string) *Lookup

func (*Lookup) Join

func (l *Lookup) Join(localField, foreignField string) *Lookup

func (*Lookup) Marshal

func (l *Lookup) Marshal() bson.D

func (*Lookup) MultiJoin

func (l *Lookup) MultiJoin(let bson.M, pipeline Pipeline) *Lookup

type Pipeline

type Pipeline interface {
	Marshal() mongo.Pipeline
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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