[][src]Module avocado::dsl::filter

Filtering sub-operators of the MongoDB DML.

Structs

BsonType

Non-deprecated BSON types.

RegexOpts

Options for matching text against a regular expression.

Enums

Filter

A query/filter condition.

Functions

eq

Convenience helper function for constructing a $eq filter without needing to write Eq (value.into()) explicitly.

gt

Convenience helper function for constructing a $gt filter without needing to write Gt (value.into()) explicitly.

gte

Convenience helper function for constructing a $gte filter without needing to write Gte (value.into()) explicitly.

lt

Convenience helper function for constructing a $lt filter without needing to write Lt (value.into()) explicitly.

lte

Convenience helper function for constructing a $lte filter without needing to write Lte (value.into()) explicitly.

ne

Convenience helper function for constructing a $ne filter without needing to write Ne (value.into()) explicitly.

not

Helper for constructing the negation of a given filter.

regex

Convenience helper function for constructing a $regex filter from a string-like value and no options.

regex_opts

Convenience helper function for constructing a $regex filter from a string-like value and the specified options.

Type Definitions

FilterDoc

A map from field names to filter sub-operations.