Skip to content

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

adds clarification in the docs

Coppleb78bdc1fa14a
diff --git a/web/docs/guides/database/functions.mdx b/web/docs/guides/database/functions.mdx
index 429440e1c56..c3c61c0838b 100644
--- a/web/docs/guides/database/functions.mdx
+++ b/web/docs/guides/database/functions.mdx
@@ -1,6 +1,6 @@
---
id: functions
-title: Functions
+title: Database Functions
description: Creating and using Postgres functions.
---
@@ -11,6 +11,12 @@ import TabItem from '@theme/TabItem';
Postgres has built-in support for [SQL functions](https://www.postgresql.org/docs/current/sql-createfunction.html).
These functions live inside your database, and they can be [used with the API](/docs/reference/javascript/rpc).
+## Database vs Edge Functions
+
+For data-intensive operations we recommend using Database Functions, which are executed within your database, and can be called remotely using the REST and GraphQL API.
+
+If you are looking for Typescript Functions which are globally deployed, check out [Edge Functions](/docs/guides/functions).
+
## Quick demo
<iframe