Hello everyone,
Im new to WeWeb, trying to figure out if the Supabase data plugin only selects Public schema or can also select, insert etc into custom schemas?
Hello everyone,
Im new to WeWeb, trying to figure out if the Supabase data plugin only selects Public schema or can also select, insert etc into custom schemas?
Only public possible at the moment, unless you set it up yourself with a little bit of code.
Thanks @Broberto
So my options are either code as you suggested or use REST with header as accept-profile=my_schema
can you explain further… I already adjusted the function they use to return another schema but that doesnt work for collections
You can create postgres functions in your public database that either calls functions in the other schemas or preforms database actions. You can then either call this on weweb or an edge function.