This document lists down the features missing in mongomock library. PRs for these features are highly appreciated.
If I miss to include a feature in the below list, Please feel free to add to the below list and raise a PR.
$rename complex operations - https://docs.mongodb.com/manual/reference/operator/update/rename/
create_collection options - https://docs.mongodb.com/v3.2/reference/method/db.createCollection/#definition
bypass_document_validation options
session options
codec options
Operations of the aggregate pipeline: * $bucketAuto * $collStats * $currentOp * $geoNear * $indexStats * $listLocalSessions * $listSessions * $merge * $planCacheStats * $redact * $replaceWith * $sortByCount * $unset <https://docs.mongodb.com/manual/reference/operator/aggregation/unset/> _
Operators within the aggregate pipeline: * Arithmetic operations on dates:
- Boolean operators ($and, $or, $not)
- Some set operators ($setEquals, $setIntersection, $setDifference, …)
- Text search operator ($meta)
- Projection operators ($map, $let)
- Array operators ($concatArrays, $isArray)
Operators within the query language (find): * $expr * $jsonSchema * $text search * $where
map_reduce options (
scope
andfinalize
)Database command method except for the
ping
command.Raw Batch BSON operations (aggregate_raw_batches and find_raw_batches)