helpers

package
v0.0.0-...-55670f9 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BSONMap

func BSONMap(jsonBytes []byte, target interface{}, ignoreFields []string) (bson.M, error)

func GetFilterOperator

func GetFilterOperator(op filters.Operator) string

func MakeBSONFilter

func MakeBSONFilter(filter filters.Filter, valueTypeMap filters.ValueTypeMap, validate func(interface{}) error) (bFilter bson.M, err error)

func MakeBSONFilterItems

func MakeBSONFilterItems(items filters.Items, valueType string) (bItems bson.M)

Types

This section is empty.

Jump to

Keyboard shortcuts

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