typedb icon indicating copy to clipboard operation
typedb copied to clipboard

Basic streaming functions

Open krishnangovindraj opened this issue 4 months ago • 1 comments

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

krishnangovindraj avatar Oct 18 '24 16:10 krishnangovindraj