We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
PostgreSQL has native support for objects stored as JSON as actually binary JSON (or JSONB). With JSONB format, you can add index do the column for faster and more efficient reads.
Even though the format supports both storing arrays of maps and nested maps, I suggest making it simple and just use an unnested single map.
The use case I am going for is have some sort of user-entered product attributes that I later can search and filter on.
continue reading on fullstackphoenix.com
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.