Cannot join table after .rpc() call
I have a function like this:
I'm trying call my function and join it with currency table which has id and value:
I'm getting error: Could not find a relationship between 'pgrst_source' and 'currency' in the schema cache.
What am I doing wrong? How can I join table based on id I get in rpc call? Currency table has primary key id.
I'm trying call my function and join it with currency table which has id and value:
I'm getting error: Could not find a relationship between 'pgrst_source' and 'currency' in the schema cache.
What am I doing wrong? How can I join table based on id I get in rpc call? Currency table has primary key id.