typedb
typedb copied to clipboard
Basic streaming functions
Release notes: product changes
Implement function execution for non-recursive stream functions which return streams only. ** Recursive functions & Non-stream functions will throw unimplemented. **
These can currently only be used from the preamble. Sample:
with
fun get_ages($p_arg: person) -> { age }:
match
$p_arg has age $age_return;
return {$age_return};
match
$p isa person;
$z in get_ages($p);
Motivation
Implement some form of function execution end-to-end
Implementation
alot