projections

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

Documentation

Index

Constants

View Source
const (
	Include = 1
	Exclude = -1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options added in v0.0.26

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

func ExcludeId

func ExcludeId() *Options

func Includes

func Includes(fields ...string) *Options

func New

func New() *Options

func (*Options) ExcludeId added in v0.0.26

func (p *Options) ExcludeId() *Options

func (*Options) Includes added in v0.0.26

func (p *Options) Includes(fields ...string) *Options

func (*Options) MarshalBSON added in v0.0.26

func (p *Options) MarshalBSON() ([]byte, error)

func (*Options) UnmarshalBSON added in v0.0.26

func (p *Options) UnmarshalBSON(bytes []byte) error

Jump to

Keyboard shortcuts

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