docs: clarify set operators need views/functions

Closes https://github.com/PostgREST/postgrest/issues/4780.
This commit is contained in:
steve-chavez
2026-04-06 11:18:42 +05:00
committed by Taimoor Zaeem
parent 9f722e0799
commit 5eac8bd203
+1 -1
View File
@@ -14,7 +14,7 @@ Custom Queries
The PostgREST URL grammar limits the kinds of queries clients can perform. It prevents arbitrary, potentially poorly constructed and slow client queries. It's good for quality of service, but means database administrators must create custom views and functions to provide richer endpoints. The most common causes for custom endpoints are
* Table unions
* SET operators like `UNION, INTERSECT and EXCEPT <https://www.postgresql.org/docs/current/queries-union.html>`_.
* More complicated joins than those provided by :ref:`resource_embedding`.
* Geo-spatial queries that require an argument, like "points near (lat,lon)"