---
title: "PostgREST 11 pre-release"
description: "PostgREST 11's pre-release, available through the Supabase CLI, adds three querying features."
url: "https://swe.quest/articles/postgrest-11-pre-release-708e03106b6a485f"
canonical: "https://supabase.com/blog/postgrest-11-prerelease"
source: "Supabase"
published: "2022-12-16"
difficulty: "medium"
kind: "Release"
reading_minutes: 3
tags: ["postgres","api-design","sql"]
---

# PostgREST 11 pre-release

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2022-12-16, 3 min read, Release. Original: [https://supabase.com/blog/postgrest-11-prerelease](https://supabase.com/blog/postgrest-11-prerelease)

## Summary

PostgREST 11's pre-release, available through the Supabase CLI, adds three querying features. A spread operator (\`...table(cols)\`) flattens embedded related-table columns into the parent object. Ordering by a related table's column is now supported, as are anti-joins via \`is.null\` filters on embedded resources. Spread and related ordering work only for one-to-one and many-to-one relationships for now. A \`not.is.null\` filter provides a more flexible alternative to the \`!inner\` modifier because it can be combined with \`or\` filters.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)
- [SQL](https://swe.quest/tags/sql.md) (Languages)

## Prerequisites

- PostgREST resource embedding
- SQL joins ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

PostgREST, Supabase, Supabase CLI, supabase-js

## Related posts

- [PostgREST 9](https://swe.quest/articles/postgrest-9-20b92866c21e13eb.md): Supabase · 2021-11-27 · Medium · 2 min read · PostgreSQL, API design
  PostgREST 9 adds inner-join resource embedding via the \`!inner\` keyword, so top-level rows can be filtered by conditions on an embedded table (e.g. messages filtered by users.username).
- [PostgREST 13](https://swe.quest/articles/postgrest-13-412584efa365a837.md): Supabase · 2025-09-30 · Medium · 3 min read · PostgreSQL, API design, Search, Identity & auth
  PostgREST 13 adds spread syntax for to-many relationships so one-to-many and many-to-many joins can be returned as flat JSON arrays, automatic to\_tsvector conversion that enables full text search on text and json/jsonb columns (backed by a GIN index on the expression), and a maxAffected limit that throws an error when an update, delete or rpc touches too many rows.
- [PostgREST Aggregate Functions](https://swe.quest/articles/postgrest-aggregate-functions-f622df6532444e20.md): Supabase · 2024-02-29 · Medium · 7 min read · PostgreSQL, API design, SQL
  PostgREST v12 adds on-the-fly aggregate functions (avg, count, max, min, sum) to its API.
- [Postgres Changes gets AND filters, new operators, and column selection](https://swe.quest/articles/postgres-changes-gets-and-filters-new-operators-and-column-selection-74cc67b661b6c154.md): Supabase · 2026-08-05 · Medium · 3 min read · Real-time systems, PostgreSQL, API design
  Supabase Realtime's Postgres Changes subscriptions now support AND-composed filters across multiple columns, new operators (like, ilike, is, match/imatch for POSIX regex, isdistinct, and not. negation), a typed filter builder, and a select option that returns only chosen columns plus the primary key.
- [PostgREST v10: EXPLAIN and Improved Relationship Detection](https://swe.quest/articles/postgrest-v10-explain-and-improved-relationship-detection-44878c605b0df57d.md): Supabase · 2022-08-19 · Medium · 7 min read · PostgreSQL, API design, Performance engineering
  PostgREST v10 adds HTTP-level EXPLAIN support: requests with the \`application/vnd.pgrst.plan\` media type, or supabase-js's \`explain()\` transform, return the PostgreSQL execution plan for reads, writes and RPC, which helps verify that RLS policies are applied and gives you the pg\_stat\_statements query identifier.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
