Skip to content

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

changed JSON Guide to use Books model

Mark Burggrafc11f840a8087
diff --git a/web/docs/guides/database/json.mdx b/web/docs/guides/database/json.mdx
index e7a93455cb9..bdeb8e0d957 100644
--- a/web/docs/guides/database/json.mdx
+++ b/web/docs/guides/database/json.mdx
@@ -13,7 +13,7 @@ PostgreSQL supports two types of JSON columns: `JSON` and `JSONB`. The recommen
The `JSON` format stores data exactly as you enter it, so every time that data is used PostgreSQL has to reparse it in order to use it.
-When you use the `JSONB` format, the data is parsed when it's put into the database so it's faster when querying and also it can be indexed, a big advantage!
+When you use the `JSONB` format, the data is parsed when it's put into the database so it's faster when querying and also it can be indexed, a big advantage!
From: [PostgreSQL JSON types](https://www.postgresql.org/docs/12/datatype-json.html)
@@ -213,6 +213,10 @@ console.log(JSON.stringify(data, null, 2));
| 4 | Green Eggs and Ham | Dr. Seuss | {"ages":[4,8],"price":7.49,"description":"Sam has changing food preferences and eats unusally colored food."} |
| 5 | Harry Potter and the Goblet of Fire | J.K. Rowling | {"ages":[10,99],"price":24.95,"description":"Fourth year of school starts, big drama ensues."} |
+NOTICE: The data as it appears here will have the `JSONB` fields in a different order than when we inserted them.
+As we said earlier about the differences between the `JSON` and `JSONB` fields:
+>When you use the `JSONB` format, the data is parsed when it's put into the database...
+
</TabItem>
</Tabs>