node-odata
node-odata copied to clipboard
about any/all operators
Hi, I am trying to query and filter the data points in following data structure, by using node-odata,
{
name: abc
data: [{x:1, y:10}, {x:2, y:20}, {x:3, y:30}]
}
Since I noticed the $expand is currently not available in the latest version, I then try to write a query like following, in order to find and return those data points that are less than 2 for their x values.
http://localhost:3000/scatter?$filter=data/any(d:d/x lt 2)
But it keeps saying,
Syntax error at '2)'.
I wonder if any/all operators are currently supported? and alternatively do you have any good idea to do so?
Thanks in advance! Shoring
Not support use any/all
keyword to query until current version.