Re: append jsonb array to another jsonb array - Mailing list pgsql-general

From David G. Johnston
Subject Re: append jsonb array to another jsonb array
Date
Msg-id CAKFQuwbGu7cto8p5my05HKjFiPf65m8rKjSF-Vi3sgBndZYJ3A@mail.gmail.com
Whole thread Raw
In response to append jsonb array to another jsonb array  (Joao Miguel Ferreira <joao.miguel.c.ferreira@gmail.com>)
List pgsql-general


On Wednesday, February 17, 2021, Joao Miguel Ferreira <joao.miguel.c.ferreira@gmail.com> wrote:
We are using Pg 11.

Example:
a = [ x, y ]
b = [ z , w ]
result would be [ x, y, z, w ]

What would you consider to be a suitable approach ?

That’s called concatenation.


David J.

pgsql-general by date:

Previous
From: Joao Miguel Ferreira
Date:
Subject: append jsonb array to another jsonb array
Next
From: Pavel Stehule
Date:
Subject: Re: append jsonb array to another jsonb array