Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update apps/docs/pages/guides/database/extensions/postgis.mdx

Steve Chaveze0c6ddc12509
diff --git a/apps/docs/pages/guides/database/extensions/postgis.mdx b/apps/docs/pages/guides/database/extensions/postgis.mdx
index 4db67e571be..97c8f8438ff 100644
--- a/apps/docs/pages/guides/database/extensions/postgis.mdx
+++ b/apps/docs/pages/guides/database/extensions/postgis.mdx
@@ -230,7 +230,7 @@ When you are working on a map-based application where the user scrolls through y
```sql
create or replace function restaurants_in_view(min_lat float, min_long float, max_lat float, max_long float)
-returns table (id public.restaurants%TYPE, name public.restaurants%TYPE, location text, dist_meters float)
+returns table (id public.restaurants.id%TYPE, name public.restaurants.name%TYPE, location text)
language sql
as $$
select id, name, st_astext(location) as location