JetBrains / JetBrains/Exposed

Return table for CustomFunction

Open
#1,375 0 comments 0 reactions 1 assignee Claimed by @bog-walk View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.