Return table for CustomFunction
Open
- Dominant language
- Kotlin
- Stars
- 9.3k
- Forks
- 798
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 26
Description
How can I return a table for a custom function?
Example Postgres function:
```psql
create or replace function sample_function(id text) returns TABLE (name text, age, int) language plpgsql
as $$
begin
return query
select name, age from users where account_id = id;
end;$$```
Contributor guide
Assessment
This issue has not been assessed yet.