I want to create a supabase client for a schema called 'schooldata' using the createBrowserSupabaseClient
and can't find any documentation on how to do it.
Asked
Active
Viewed 426 times
0

Tim
- 13
- 3
-
Does this answer your question? [How to access custom schema from supabase-js client?](https://stackoverflow.com/questions/73281996/how-to-access-custom-schema-from-supabase-js-client) – Monica Jan 25 '23 at 16:23
-
No, I know how to do it using `createClient`, that's why I specifically asked for `createBrowserSupabaseClient`. – Tim Jan 26 '23 at 17:24
1 Answers
0
If I understand the question correctly, first you must create the client inside your file doing the updates: https://supabase.com/docs/reference/javascript/initializing
Then you can use the client supabase
to access database methods like insert data https://supabase.com/docs/reference/javascript/insert

remainstheday
- 464
- 1
- 4
- 13