I PL/pgSQL I have a few jsonb variables (instantiated each with an array of objects) and I need to append them to produce the final result. All of them are small in size (max 30 each). 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 ?