Supabase Replica Database
Closed this issue · 2 comments
Improve documentation
Link
https://supabase.com/docs/reference/javascript/rpc
Describe the problem
Please add that in second argument/params must be empty/undefined/null for using replica, not put it in second argument
example:
const {data} = await supabase.rpc('function_name', undefined, { get: true, });
Describe the improvement
Change the replica rpc documentation to this
const {data} = await supabase.rpc('function_name', undefined, { get: true, });
Additional context
hey @msafrun i would like to work on this issue , can you please assign this issue to me.
Hi @msafrun ! Thank you very much for filing an issue! I can see the folliwing at https://supabase.com/docs/reference/javascript/rpc
The documentation lives in https://github.com/supabase/supabase, and I see that this commit fixed it: supabase/supabase@6d72888
I will close this issue now! Thank you very much for your keen eye!