Dan Brown
 · AfroCom Platform

FF Latlng data query from Supabase PostGis extention

Everyone

I trust you are all doing well - Thanks a lot if you can help me with the below.

To query and have exactly Lat lng data from Superbase with PostGIS extension activated requires a function in Superbase. My function below:

From superbase documentation: You can call this function from your client using rpc() like below:

My question: How do I go about this on FF?

Currently, I am trying to use a custom function to do the below

Screenshot 2023-09-04 4.17.59 PM.png
49.12KB

and below is the code but I'm getting error

Screenshot 2023-09-04 4.22.56 PM.png
77.52KB

Thank you for any help -- very appreciated

3
1 reply