Repository navigation
How to call Postgres database functions from custom schema? #712
Replies: 1 comment 6 replies
|
Seems like this functionality is missing currently. I'll add a parameter in a future version, for now you can follow the library's approach and set the header yourself (which specifies the schema used) postgrest.rpc("my_function") {
headers["Content-Profile"] = "my_schema"
} |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to create a custom schema and have added some functions to it, but I'm unsure how to call these functions properly. This is because rpc does not have schema parameter like get() or from().
All reactions