Re: jsonb_array_elements_recursive()

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема Re: jsonb_array_elements_recursive()
Дата
Msg-id 82309d63-eb84-4bb7-a387-e76e8ca265fd@www.fastmail.com
обсуждение исходный текст
Ответ на jsonb_array_elements_recursive()  ("Joel Jacobson" <joel@compiler.org>)
Ответы Re: jsonb_array_elements_recursive()
Re: jsonb_array_elements_recursive()
Список pgsql-hackers
Having thought about this some more,
the function name should of course be jsonb_unnest(),
similar to how unnest() works for normal arrays:

SELECT unnest(array[[3,2],[1,4]]);
unnest
--------
      3
      2
      1
      4
(4 rows)

SELECT jsonb_unnest('[[3,2],[1,4]]'::jsonb);
jsonb_unnest
--------------------
3
2
1
4
(4 rows)

Thoughts?

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: jsonb_array_elements_recursive()