Re: How to return a jsonb list of lists (with integers)

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to return a jsonb list of lists (with integers)
Date: 2021-02-16 18:52:21
Message-ID: CAHOFxGqDzVAduLrL02aZOVxAdypD_YZrdJPFx0v0ejg6KKP2cA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Aggregate functions work on a single column to summarize many rows into
fewer rows. You seem to be wanting to combine multiple columns which would
be done by concatenation or array[column1,column2] or something like that.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2021-02-16 19:11:00 Re: Order by not working
Previous Message David G. Johnston 2021-02-16 18:50:27 Re: How to return a jsonb list of lists (with integers)