Skip to content

Commit

Permalink
feat: Add oafp function for executing oafp with provided map in JSON …
Browse files Browse the repository at this point in the history
…or SLON string format
  • Loading branch information
nmaguiar committed Aug 11, 2024
1 parent 8da9848 commit a947148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docs/FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ Using the same unix “pipe” mechanism it’s possible to apply different cate
| not_null(any) | base | Returns the non-null value between the provided fields | [].not_null(a,b) |
| now(diff) | 20240302 | Returns the current unix timestamp number with a negative diff (or positive for dates in the future) |
| nvl(field, value) | 20240216 | Returns the provided value in case a field value is undefined or null | nvl(nullField, 'n/a') |
| oafp(str) | 20240812 | Executes an oafp (inception) with the provided map in JSON or SLON string format | oafp('(file:data.json)') |
| opath(str) | 20240801 | Inception function to ahver other path filters in 'str' applied over the original object before current transformations | files[].{ name: filename, path: opath('originalPath') } |
| path(obj, str) | 20240801 | Inception function to have other path filters in 'str' applied over 'obj' | path(@, 'filename') |
| progress(value, max, min, size, indicator, space) | 20240712 | Returns a progress string to represent a value, between a max and a min, using an indicator char and space chars within a size limit | { val: v, p: progress(v, 100, 0, 10, __, __) } |
Expand Down

0 comments on commit a947148

Please sign in to comment.