We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the supabase instance uses a different schema previously, you need to specify .schema("public") to start using the public schema again
create 2 schemas invoke an rpc from a non public schema and then try to query the public schema without using the schema method.
#this works response = ( supabase.schema('infra') .rpc('claim_pdf_job', { "worker_token": worker_token }) .execute() ) response = ( supabase.schema('public').table("dzi_builder_logs") .insert({ "message": 'test', "pdf_id": record['pdf_id'] }) .execute() ) #this throws a 404 on the second query #this works response = ( supabase.schema('infra') .rpc('claim_pdf_job', { "worker_token": worker_token }) .execute() ) response = ( supabase.table("dzi_builder_logs") .insert({ "message": 'test', "pdf_id": record['pdf_id'] }) .execute() )
I'd expect the schema to default to public if no specified.
The text was updated successfully, but these errors were encountered:
This was fixed in version 1.0.0 of postgrest-py which is only available from 2.15.0 of supabase-py #1074
postgrest-py
supabase-py
Sorry, something went wrong.
silentworks
No branches or pull requests
Describe the bug
If the supabase instance uses a different schema previously, you need to specify .schema("public") to start using the public schema again
To Reproduce
create 2 schemas invoke an rpc from a non public schema and then try to query the public schema without using the schema method.
Expected behavior
I'd expect the schema to default to public if no specified.
System information
The text was updated successfully, but these errors were encountered: