Documentation ¶
Overview ¶
package query implements data structures and helper functions for distributed query subsystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidQuery = errors.New("invalid query")
ErrInvalidQuery denotes a given query is empty or badly formatted.
Functions ¶
Types ¶
type M ¶
type M map[string]interface{}
M is an unordered representation of a query. This type should be used when the order of the elements does not matter. This type is handled as a regular map[string]interface{} when encoding and decoding. Elements will be serialized in an undefined, random order. (extracted from https://godoc.org/go.mongodb.org/mongo-driver/bson#M)
Click to show internal directories.
Click to hide internal directories.