internal

package
v0.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPopulatePipeline

func BuildPopulatePipeline[P UnionFindOpts](d any, q bson.M, opt P) (mongo.Pipeline, *options.AggregateOptions, error)

func DecodeBSON

func DecodeBSON(d, v interface{}) error

func DecodeJSON

func DecodeJSON(d, v interface{}) error

func IsModified

func IsModified(old, newV interface{}, field string) bool

Types

type UnionFindOpts

type UnionFindOpts interface {
	*mopt.FindOptions | *mopt.FindOneOptions
}

Jump to

Keyboard shortcuts

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