• Operators

Operators

The complete list of operators, including query operators, update operators, aggregation operators, etc.

This chapter catalogs the query and update operators supported by FerretDB. Query operators include comparison operators, logical operators, array operators, element operators, and evaluation operators, which are used to filter documents in read queries. Update operators, grouped under the Update Operators subsection, modify fields within existing documents, and the Field update operators subsection details field-level update modifiers. Use these operators inside query filters and update documents to express selection and modification logic the same way you would in MongoDB.