-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
currently range tests need to be written like this:
{
"$project" : {
"in_range" : {
"$and" : [
{
"$gt" : [
"$count",
10
]
},
{
"$lt" : [
"$count",
100
]
}
]
},
"count" : 1
}
}
It would be nice to write this as {'in_range': {$inOrder:[10, '$count', 100]}}
Naming is to be more clear when there are >3 arguments.