diff --git a/apps/docs/content/guides/database/joins-and-nesting.mdx b/apps/docs/content/guides/database/joins-and-nesting.mdx index ecdfa7e5e76..5d4c2351479 100644 --- a/apps/docs/content/guides/database/joins-and-nesting.mdx +++ b/apps/docs/content/guides/database/joins-and-nesting.mdx @@ -232,6 +232,8 @@ By default, embedded relations use **left join** semantics from the parent table To filter out parent rows that do not match the related table, use `!inner` on the embedded relation. +If you know the join you want in SQL, use the [SQL to REST API Translator](/docs/guides/api/sql-to-rest). It converts a SQL `select` query into the matching Data API request and Supabase JavaScript client code, with joins as embedded relations. The Data API supports only a subset of SQL, so some queries won't translate. For example, the translator handles only left and inner joins that compare columns with `=`. The request it returns works only when a foreign key links the two tables. + ### What `:` and `!` mean in join syntax | Syntax | Meaning | Example |