operators

package
v0.0.0-...-c1715a6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 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 Query

type Query bson.M

func (Query) Equal

func (q Query) Equal(field string, value interface{}) Query

func (Query) In

func (q Query) In(field string, values ...interface{}) Query

In selects the documents where the value of a field equals any value in the specified array. Calling In multiple times for the same field will append new values.

Jump to

Keyboard shortcuts

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