Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidInput = errors.New("odata syntax error")
ErrInvalidInput Client errors
Functions ¶
func ODataCount ¶
func ODataCount(collection *mongo.Collection) (int64, error)
ODataCount runs a collection.Count() function based on $count odata parameter
func ODataQuery ¶
func ODataQuery(connectionIDs []string, query url.Values, object interface{}, collection *mongo.Collection, countTotal bool) (int64, error)
ODataQuery creates a mongo query based on odata parameters nolint :gocyclo
Types ¶
Click to show internal directories.
Click to hide internal directories.