Home / Companies / Supabase / Blog / Post Details
Content Deep Dive

PostgREST v10: EXPLAIN and Improved Relationship Detection

Blog post from Supabase

Post Details
Company
Date Published
Author
Steve Chavez
Word Count
1,176
Company Posts That Month
16
Language
English
Hacker News Points
-
Post removed?
No
Summary

The newly released PostgREST v10 automatically turns a PostgreSQL database into a RESTful API, offering several new features including EXPLAIN, which provides execution plans for requests through HTTP or supabase-js, enabling quicker feedback on query performance. Additionally, one-to-one relationships are now automatically detected to avoid unnecessary JSON arrays in query results. Computed relationships have also been introduced, allowing users to define custom SQL functions and override detected relationships. However, a breaking change has been made regarding many-to-many relationships, requiring primary key columns to include foreign key columns of the many-to-many ends for join tables to be correctly detected. These features are part of PostgREST's efforts towards extensibility and customization.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 2 244 57 38 +59%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.