-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
It would be nice if $expr wasn't needed for comparison with $$NOW so that people could write:
db.coll.find({date:{$gte:"$$NOW"}})
This isn't a full solution to the problem of dynamic dates in find being able to use an index since it's not unlikely they would actually want to do math on the expression but we probably should find a way to allow that as well.
- is related to
-
SERVER-58604 Allow $geoNear 'near' argument to be a let variable
-
- Closed
-