mongo

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendStringQuietly

func AppendStringQuietly(raw bson.Raw, key string, out *[]string)

func GetArray

func GetArray(raw bson.Raw, key string) bson.Raw

func GetArrayValues

func GetArrayValues(raw bson.Raw, key string) []bson.RawValue

func GetBool

func GetBool(raw bson.Raw, key string) bool

func GetBoolQuietly

func GetBoolQuietly(raw bson.Raw, key string, out *bool)

func GetDoc

func GetDoc(raw bson.Raw, key string) bson.Raw

func GetDouble

func GetDouble(raw bson.Raw, key string) float64

func GetDoubleQuietly

func GetDoubleQuietly(raw bson.Raw, key string, out *float64)

func GetInt32

func GetInt32(raw bson.Raw, key string) int32

func GetInt32Quietly

func GetInt32Quietly(raw bson.Raw, key string, out *int32)

func GetInt64

func GetInt64(raw bson.Raw, key string) int64

func GetInt64Quietly

func GetInt64Quietly(raw bson.Raw, key string, out *int64)

func GetString

func GetString(raw bson.Raw, key string) string

func GetStringArrayQuietly

func GetStringArrayQuietly(raw bson.Raw, key string, out *[]string)

func GetStringArrayQuietlyF

func GetStringArrayQuietlyF(raw bson.Raw, key string, out *[]string, allow func(e string) bool)

func GetStringQuietly

func GetStringQuietly(raw bson.Raw, key string, out *string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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