Aidbox SQL functions
This page is in progress. Please contact us if you need more SQL functions to be documented.
knife_extract
Extract elements from jsonb data
given jsonb array of paths paths
.
Path is a jsonb array each element of which is either path element or filter.
Path element is a jsonb string. It specifies keyword to follow in current map.
Filter is a jsonb object. Only objects which contain filter objects are left in current array.
knife_extract
iterates over each array while following path and flattens results.
Example:
knife_extract_text
Extract strings from jsonb data
given jsonb array of paths paths
.
Like knife_extract
but return only strings.
Example:
aidbox_text_search
Concatenates strings texts
with spaces, removes accents, adds leading and trailing spaces.
Example:
Last updated
Was this helpful?