Hey I am stuck using the api - I can access the pu...
# help
k
Hey I am stuck using the api - I can access the public tables but I have a schema called portal and need to access a table from there but I can't figure out the url to use url = "https://xxxxxxxxxxx.supabase.co/rest/v1/project_table?select=*&time=gte.2022-06-06T15:39:16" Gets this back - {"message":"relation \"public.project_table\" does not exist","code":"42P01","details":null,"hint":null} If I put portal.project_table I get the same but with public.portal.project_table does not exist
n
Hello @Kevin Mann! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
Supabase-js can only access 1 schema per client and it defaults to public. Look at https://supabase.com/docs/reference/javascript/initializing#api-schemas
n
Kevin Mann (2022-06-06)
k
Ok, thank you - I am not sure why the data table has been separated like this by our team - I look at moving them together