Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about any/all operators #68

Open
shoringfan10 opened this issue Sep 21, 2016 · 1 comment
Open

about any/all operators #68

shoringfan10 opened this issue Sep 21, 2016 · 1 comment

Comments

@shoringfan10
Copy link

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

@zackyang000
Copy link
Owner

Not support use any/all keyword to query until current version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants