The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Apply suggestions from code review
Khairul Haaziq82860ed3b9cf
diff --git a/apps/docs/pages/guides/database/full-text-search.mdx b/apps/docs/pages/guides/database/full-text-search.mdxindex e9a333d7f07..430bddc471c 100644--- a/apps/docs/pages/guides/database/full-text-search.mdx+++ b/apps/docs/pages/guides/database/full-text-search.mdx@@ -227,8 +227,7 @@ final result = await client### Search multiple columns-Right now there is no direct way to use JavaScript or Dart to search through multiple columns. A workaround exist where using SQL is required.-The method involves creating [computed virtual columns](https://postgrest.org/en/stable/api.html#computed-virtual-columns).+Right now there is no direct way to use JavaScript or Dart to search through multiple columns but you can do it by creating [computed columns](https://postgrest.org/en/stable/api.html#computed-virtual-columns) on the database.To find all `books` where `description` or `title` contain the word `little`:@@ -256,7 +255,7 @@ where```sqlcreate function title_description(books) returns text as $$select $1.title || ' ' || $1.description;-$$ language sql;+$$ language sql immutable;``````js@@ -272,7 +271,7 @@ const { data, error } = await supabase```sqlcreate function title_description(books) returns text as $$select $1.title || ' ' || $1.description;-$$ language sql;+$$ language sql immutable;``````dart