---
title: "Discussion on \"Modify Nested Arrays in PostgreSQL JSON/B Columns\" | Hashnode"
description: "Discussion on \"Modify Nested Arrays in PostgreSQL JSON/B Columns\". Postgres does not provide modification operations for nested JSON arrays out-of-the-box. By combining some  JSON utility functions with  array functions you can achieve  dynamic update statements to do adding/removing by value.\nExample\nLet's create a..."
url: "https://hashnode.com/posts/postgresql-update-json-arrays/6126bfd622e1ba252a87e1ce"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Modify Nested Arrays in PostgreSQL JSON/B Columns](https://partschblog.hashnode.dev/postgresql-update-json-arrays?utm_source=hashnode&utm_medium=feed)

Postgres does not provide modification operations for nested JSON arrays out-of-the-box. By combining some JSON utility functions with array functions you can achieve dynamic update statements to do adding/removing by value. Example Let's create a...

Aug 25, 2021 · 2 min read · partschblog.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#json](https://hashnode.com/tag/json)

## Written by

[AM Partsch](https://hashnode.com/@partschi)

@partschi · Vienna, Austria

  
[View profile](https://hashnode.com/@partschi)

yc reject and bellow average swimmer

Self-employed software developer and co-founder of docu tools. Besides that highly interested in mathematics, algorithms, problem-solving, product design, politics, philosophy (dialectics, materialism, marxism, realism, history of ideas, ...) and economics. I'll try to write about that. Born &amp; raised in Vienna, probably will die there too.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
