The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
adds more images
Copple4948360e4555
diff --git a/apps/www/_blog/2022-12-15-postgres-foreign-data-wrappers-rust.mdx b/apps/www/_blog/2022-12-15-postgres-foreign-data-wrappers-rust.mdxindex 51a3fe69f5f..3bf55e96651 100644--- a/apps/www/_blog/2022-12-15-postgres-foreign-data-wrappers-rust.mdx+++ b/apps/www/_blog/2022-12-15-postgres-foreign-data-wrappers-rust.mdx@@ -39,7 +39,7 @@ options (api_key 'sk_test_xxx');Now we can map your Stripe data to Foreign Tables, which are just like normal tables except that the data exists _outside_ of your database.```sql--- Create a foreign table for your Stripe customers+-- Create a foreign table for your Stripe productscreate foreign table products (id text,name text,@@ -47,23 +47,22 @@ create foreign table products (default_price text)server my_stripe_server-options (- object 'customers'-);-+options ( object 'products' );```### Accessing remote data-After setting up your foreign table, you can query you Stripe customers directly from your database:+After setting up your foreign table, you can query you Stripe products directly from your database:```sql--- Fetch all your stripe customers in Postgres+-- Fetch all your stripe products in Postgresselect *from productslimit 10;```++Or from your application, using one of our client libraries:```jsx@@ -154,6 +153,8 @@ whereWe can either run these queries on demand or, for better query performance, we can run them in the background (using something like [pg_cron](https://supabase.com/docs/guides/database/extensions/pgcron)), and materialize the data into a local table.++This gives us the basis of QETL:- Query: run on-demand SQL queries, directly from your Postgres database.@@ -161,7 +162,7 @@ This gives us the basis of QETL:- Transform: use SQL aggregations and CTEs to transform the data.- Load: store transformed data into local tables for faster access.-This is also a two-way process. It's equally useful to offload large datasets from your Postgres database to your Data Warehouse. With FDWs, this can be as simple as:+This is a two-way process. It's equally useful to offload large datasets from your Postgres database to your Data Warehouse. With FDWs, this can be as simple as:```sqlinsert into snowflake.analyticsdiff --git a/apps/www/public/images/blog/launch-week-6/wrappers/qetl.png b/apps/www/public/images/blog/launch-week-6/wrappers/qetl.pngnew file mode 100644index 00000000000..8a62bf67f17Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/wrappers/qetl.png differdiff --git a/apps/www/public/images/blog/launch-week-6/wrappers/stripe-data.png b/apps/www/public/images/blog/launch-week-6/wrappers/stripe-data.pngnew file mode 100644index 00000000000..e9ff8e7c6b3Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/wrappers/stripe-data.png differ