Bypassing NULL elements in row_to_json function

Поиск
Список
Период
Сортировка
От Michael Nolan
Тема Bypassing NULL elements in row_to_json function
Дата
Msg-id CAOzAquLGKEBDBKajAdVo7uMC0R52facO3A1f6QNn6h=mNR-6Cw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Bypassing NULL elements in row_to_json function  (Raymond O'Donnell <rod@iol.ie>)
Re: Bypassing NULL elements in row_to_json function  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
I'm looking at the possibility of using JSON as a data exchange format
with some apps running on both PCs and Macs.   .

The table I would be exporting has a lot of NULL values in it.  Is
there any way to skip the NULL values in the row_to_json function and
include only the fields that are non-null?
--
Mike Nolan
nolan@tssi.com


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

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: Transitioning to a SQL db
Следующее
От: Scott Ribe
Дата:
Сообщение: recover from this error