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:
- Some date operators ($isoDayOfWeek, $isoWeekYear, …)
- Some set operators ($setIntersection, $setDifference, …)
- Some string operators ($indexOfBytes, $trim, …)
- Text search operator ($meta)
- Projection operator $map
- Array operators ($isArray, $indexOfArray, …)
- $mergeObjects
- Some type conversion operators ($convert, …)
Operators within the query language (find): * $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)