Skip to content

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

docs: select ret null, return ret hello world (#42073)

samrose089edbe6faeb
diff --git a/apps/docs/content/guides/database/functions.mdx b/apps/docs/content/guides/database/functions.mdx
index 0f0c0517489..abea38ae77d 100644
--- a/apps/docs/content/guides/database/functions.mdx
+++ b/apps/docs/content/guides/database/functions.mdx
@@ -416,7 +416,7 @@ language plpgsql
security definer set search_path = ''
as $$
begin
- select 'hello world';
+ return 'hello world';
end;
$$;
```