# SQL or NoSQL? Why not use both (with PostgreSQL)?

DevFeed: [SQL or NoSQL? Why not use both (with PostgreSQL)?](<https://devfeed.tech/articles/sql-or-nosql-why-not-use-both-with-postgresql-557.md>)

Original publisher: [Read original article](<https://supabase.com/blog/sql-or-nosql-both-with-postgresql>)

Author: Mark Burggraf

Published: 2022-11-24T07:00:00Z

Content type: article

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [NoSQL](<https://devfeed.tech/topics/nosql.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [developer](<https://devfeed.tech/tags/developer.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [json](<https://devfeed.tech/tags/json.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

The article compares SQL and NoSQL approaches for storing application data and explains why PostgreSQL can support both relational SQL and document-oriented NoSQL patterns. It uses an example of daily food, water, exercise, weight, and notes data to discuss storage structure, querying, and tradeoffs.

## Source excerpt

How to turn Postgres into an easy-to-use NoSQL database that retains all the power of SQL