Using JavaScript UDF for Complex Filters
Learn how to use JavaScript User-Defined Functions for advanced filtering capabilities.
Coming soon! You can use custom JavaScript to filter patients instead of SQL.
CREATE TEMP FUNCTION reduceJson(p JSON) RETURNS JSON LANGUAGE js AS """ // p is patient object // Write crazy stuff here I could filter the series and studies rows here // So I also return my "selected" return p """;