- Change streams (
watch()) find_raw_batches(),aggregate_raw_batches()- Sessions and transactions (basic ClientSession exists but limited)
$outwith aggregation (basic support only)- Full
$mergestage support - Collation on most operations
hintparameter on delete operations$query/$orderbylegacy format
aggregate()returnslistinstead ofCommandCursor- TTL indexes are simulated via
simulate_ttl()— not automatic - No network overhead — all in-memory
SERVER_VERSIONdefaults to7.0.34(configurable via envMONGODB)ObjectIdgeneration is not guaranteed globally unique (mock)- Write concerns are accepted but always acknowledged
$lookuppipeline syntax works but limited sub-pipeline support$setWindowFields— basic window functions, not all boundaries$fill— linear/method not implemented$graphLookup— depth-first only, nomaxDepthvalidation- Geospatial: 2dsphere index simulated, only GeoJSON geometries
$convert— most conversions work, some edge cases differ
- Real network/replica set behavior
- Sharding
- Actual persistent storage