-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
What kind of expression is allowed in script expressions? #113
Comments
There is no underlying script engine. The filter is parsed and evaluated in java. The implementation is very limited. |
Hi there, Thx for your reply and sorry for my late reply in turn.
The filter is parsed, meaning parsed as which language? What is the kind of expression that you expect here?
Ok I get that, however what is it more precisely: how would I know what kind of expression is allowed and what is not? Thanks again, |
In version 2.0 basic comparison operators are supported
you can not use parenthesis to control evaluation like ((@.a == 1 && @.b == 2) || @.c == true) |
Hi, Thx Kallestenflo, good to have a clear idea of the capabilities. It would probably be a good idea to document this in the README of the project. Cheers, |
Another one: the operators you mention work for the filters [?(...)] where the expression evaluates to a boolean. What about calculated index [(...)] : can you do any calculation with field names, @.length, etc. ? Franck. |
Hi guys,
First of all, thx for sharing this project that I found very useful.
I have a question regarding script expressions. I'm referring to Stefan Goessner's page:
Thanks in advance!
Franck.
The text was updated successfully, but these errors were encountered: