Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update apps/www/_blog/2022-10-12-postgres-full-text-search-vs-the-rest.mdx

Copple0128a058e0e3
diff --git a/apps/www/_blog/2022-10-12-postgres-full-text-search-vs-the-rest.mdx b/apps/www/_blog/2022-10-12-postgres-full-text-search-vs-the-rest.mdx
index dc4851335b6..0e0e39e9c84 100644
--- a/apps/www/_blog/2022-10-12-postgres-full-text-search-vs-the-rest.mdx
+++ b/apps/www/_blog/2022-10-12-postgres-full-text-search-vs-the-rest.mdx
@@ -132,7 +132,8 @@ create index movies_fts_doc_en_idx
Postgres supports even more features like [facilities for ranking search results](https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-RANKING) but for now we'll simply use `title`, `original_title`, and `overview` as they are.
-``` select
+```sql
+select
* from movies
where doc_en @@ websearch_to_tsquery('english', 'Avengers');
```