© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
how to use a POSTGIS function in a .select() - Supabase
S
Supabase
•
4y ago
•
2 replies
goldaeon
how to use a POSTGIS function in a .select()
Hi all
!
I
've tried supabase for a new project and it looks great
.
I
'm trying to do something like this
:
await supabase
.from
(
"items
"
)
.select
(
id,
title,
body,
ST_X(location),
ST_Y(location)
id,
title,
body,
ST_X(location),
ST_Y(location)
)
but it seems like it does not work
. Is there a special way to do that or should I use RPC
?
Thanks in advance for your help
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
46,176
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
postGis, how to use with supabas
S
Supabase / help-and-questions
4y ago
Nearest neighbour trigger function with PostGIS
S
Supabase / help-and-questions
4y ago
How to use database function in RLS policy, which return a boolean?
S
Supabase / help-and-questions
3y ago
Why Use a Dedicated gis Schema for PostGIS extension?
S
Supabase / help-and-questions
15mo ago