bsonx

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func A

func A(values ...any) bson.A

func D

func D(key string, value any) bson.D

func E

func E(key string, value any) bson.E

func Id

func Id(value any) bson.M

func M

func M(key string, value any) bson.M

Types

type DBuilder added in v0.5.0

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

DBuilder is a builder for bson.D

func NewD added in v0.5.0

func NewD() *DBuilder

func (*DBuilder) Add added in v0.5.0

func (b *DBuilder) Add(key string, value any) *DBuilder

func (*DBuilder) Build added in v0.5.0

func (b *DBuilder) Build() bson.D

Jump to

Keyboard shortcuts

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