Details
-
New Feature
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
Query Execution
Description
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.