The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
check prettier on mdx
Copple665c4e8ef2cc
diff --git a/another.sql b/another.sqlindex daf973b4a36..10cc2d1420f 100644--- a/another.sql+++ b/another.sql@@ -1,8 +1,7 @@-CREATE TABLE- client (- id INTEGER,- name VARCHAR(100),- price DECIMAL(10, 5),- age UNSIGNED BIG INT,- organization_name NATIVE CHARACTER(70)- );+create table client (+ id integer,+ name varchar(100),+ price decimal(10, 5),+ age unsigned big int,+ organization_name native character (70)+);diff --git a/apps/docs/pages/guides/database/tables.mdx b/apps/docs/pages/guides/database/tables.mdxindex 9ed2619b47d..dd75065339f 100644--- a/apps/docs/pages/guides/database/tables.mdx+++ b/apps/docs/pages/guides/database/tables.mdx@@ -189,8 +189,14 @@ Use the "Bulk Loading" instructions if you are loading large data sets.insert into movies(name, description)values- ('The Empire Strikes Back', 'After the Rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker begins Jedi training with Yoda.'),- ('Return of the Jedi', 'After a daring mission to rescue Han Solo from Jabba the Hutt, the Rebels dispatch to Endor to destroy the second Death Star.');+ (+ 'The Empire Strikes Back',+ 'After the Rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker begins Jedi training with Yoda.'+ ),+ (+ 'Return of the Jedi',+ 'After a daring mission to rescue Han Solo from Jabba the Hutt, the Rebels dispatch to Endor to destroy the second Death Star.'+ );```</TabPanel>@@ -425,14 +431,15 @@ As a query becomes complex it becomes a hassle to call it. Especially when we ru```sqlselect- students.name,- students.type,- courses.title,- courses.code,- grades.result-from grades-left join students on grades.student_id = students.id-left join courses on grades.course_id = courses.id;+ students.name,+ students.type,+ courses.title,+ courses.code,+ grades.result+from+ grades+ left join students on grades.student_id = students.id+ left join courses on grades.course_id = courses.id;```We can run this instead:@@ -449,14 +456,15 @@ Views ensure that the likelihood of mistakes decreases when repeatedly executing```sqlselect- students.name,- students.type,- courses.title,- courses.code,- grades.result-from grades- left join students on grades.student_id = students.id- left join courses on grades.course_id = courses.id+ students.name,+ students.type,+ courses.title,+ courses.code,+ grades.result+from+ grades+ left join students on grades.student_id = students.id+ left join courses on grades.course_id = courses.idwhere courses.code != 'PG101';```@@ -478,13 +486,14 @@ Using our example above, a materialized view can be created like this:```sqlcreate materialized view transcripts as- select- students.name,- students.type,- courses.title,- courses.code,- grades.result- from grades+ select+ students.name,+ students.type,+ courses.title,+ courses.code,+ grades.result+ from+ gradesleft join students on grades.student_id = students.idleft join courses on grades.course_id = courses.id;```