The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Merge branch 'master' of https://github.com/supabase/supabase
awalias3dd37cbf215b
diff --cc web/blog/2021-02-27-cracking-postgres-interview.mdindex 5448b382f71,1f552ca2e5a..36ccf05579c--- a/web/blog/2021-02-27-cracking-postgres-interview.md+++ b/web/blog/2021-02-27-cracking-postgres-interview.md@@@ -49,8 -47,6 +49,11 @@@ CREATE INDEX idx_students_surnamON students(surname);```++<<<<<<< HEAD+The default index type used here is `btree` (you could have specified this as `USING btree`), but there are other types of indexes, such as `BRIN`, `GiST`, `GIN`, `hash`, and more. Readers wanting to go deeper may also want to explore [Partial](https://www.postgresql.org/docs/current/indexes-partial.html) or [Multicolumn](https://www.postgresql.org/docs/13/indexes-multicolumn.html) Indexes.+++=======++>>>>>>> b06114ac5c02bb1a584bd30ef4cef74b3d72af88### Know how to analyze with EXPLAIN ANALYZERunning@@@ -65,11 -61,11 +68,11 @@@ Before and after adding your index wil## 3. VIEWs- ### Knows how to create different representations of data with [VIEWs](https://supabase.io/blog/2020/11/18/postgresql-views).+ ### Know how to create different representations of data with [VIEWs](https://supabase.io/blog/2020/11/18/postgresql-views).-We might create a VIEW `transcripts` which pulls out data from `students`, `courses`, and `grades`. It's useful for security, and logical abstractions. Check out our longer post on VIEWs here: [https://supabase.io/blog/2020/11/18/postgresql-views](https://supabase.io/blog/2020/11/18/postgresql-views)+We might create a VIEW `transcripts` which pulls out data from `students`, `courses`, and `grades`. It's useful for security, and logical abstractions. Check out our longer post on VIEWs here: [https://supabase.io/blog/2020/11/18/postgresql-views](https://supabase.io/blog/2020/11/18/postgresql-views). Some purists may argue that you should always query VIEWs and never TABLEs.- ### Knows about Autoupdatable views.+ ### Know about Autoupdatable views.If a VIEW is named as the target relation in an INSERT, UPDATE, or DELETE and only SELECTs from a single base relation, then the underlying subquery is automatically rewritten to update the underlying base relation instead.