projection

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P

type P bson.M

func Exc

func Exc(f mongodb.Field, fn ...mongodb.Field) P

func Inc

func Inc(f mongodb.Field, fn ...mongodb.Field) P

func (P) Exc

func (p P) Exc(f mongodb.Field, fn ...mongodb.Field) P

func (P) Inc

func (p P) Inc(f mongodb.Field, fn ...mongodb.Field) P

func (P) Slice

func (p P) Slice(f mongodb.Field, pos, len int) P

first five: [0,5]; last five:[-5, 5]; from 3rd to 7th: [3, 5]

Jump to

Keyboard shortcuts

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