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

Support of native functions when evaluating an expression #468

Closed
Seddryck opened this issue Apr 9, 2019 · 1 comment
Closed

Support of native functions when evaluating an expression #468

Seddryck opened this issue Apr 9, 2019 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented Apr 9, 2019

It should be really useful to have support for native functions when we're dealing with an expression in a predicate. The first value will be the column identifier then we'll have the classic list of native functions separeted by the pipe |. To differentiate this to the NCalc usage we'll use the optional (when not present NCalc will be supposed) scriptxml element.

<all-rows>
  <alias column-index="0">myDate</alias> <!-- optional -->
  <expression name="MyModifiedDate">
    <script language="native">
      myDate | utc-to-local(Brussels) | dateTime-to-date
    </script>
  </expression>
  <predicate name="IntegerDepId">
    <more-than or-equal="true">2019-01-01</more-than>
  </predicate>
</all-rows>
@Seddryck Seddryck added this to the v1.20 milestone Apr 9, 2019
Seddryck pushed a commit that referenced this issue Apr 9, 2019
Seddryck pushed a commit that referenced this issue Apr 13, 2019
@Seddryck
Copy link
Owner Author

Beta available at https://ci.appveyor.com/project/Seddryck/nbi/builds/23824520/artifacts in 1.20.0-beta.166

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

No branches or pull requests

1 participant