Re: Create and access a dictionary type

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: Create and access a dictionary type
Дата
Msg-id 39f8bf99-0cba-912f-8edf-40776954f631@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Create and access a dictionary type  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general
On 1/5/22 14:36, Shaozhong SHI wrote:
> I just checked operators.  I could not find any operator to set a new 
> value given a key.
> 

I'd say jsonb_set is what you're looking for.

Postgres does not have a thing that'd match the Oracle feature exactly, 
you'll have to adjust your application to use what's available.

regards


-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Create and access a dictionary type
Следующее
От: Ron
Дата:
Сообщение: Re: Create and access a dictionary type