Documentation ¶ Index ¶ type P func Exc(f mongodb.Field, fn ...mongodb.Field) P func Inc(f mongodb.Field, fn ...mongodb.Field) P func (p P) Exc(f mongodb.Field, fn ...mongodb.Field) P func (p P) Inc(f mongodb.Field, fn ...mongodb.Field) P func (p P) Slice(f mongodb.Field, pos, len int) P 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] Source Files ¶ View all Source files projection.go Click to show internal directories. Click to hide internal directories.