Joining relationships from .rpc
function calls throws error
#1259
Labels
bug
Something isn't working
.rpc
function calls throws error
#1259
Bug report
Describe the bug
I'm getting errors when joining relationships from rpc function calls, but the supabase-js SDK infers the correct types (suggesting it is possible)
To Reproduce
I have a Postgres function
This performs a complex filter and returns a list of triggerIds, which map to the
triggers
table. To fetch this I'm doing:When I write the following, supabase-js type inference correctly shows me the right types
However that query doesn't work and gives the following error:
Expected behavior
The trigger table is joined and in the
select
statement I can join arbitrary fields and relationshipsSystem information
The text was updated successfully, but these errors were encountered: