dilshod
dilshod

Reputation: 89

How to modify field with jsonPath in PostgreSQL?

How to modify a field using jsonPath in PostgreSQL like SQL Server JSON_MODIFY (https://learn.microsoft.com/en-us/sql/t-sql/functions/json-modify-transact-sql?view=sql-server-ver15)?

Thanks!

Upvotes: 2

Views: 510

Answers (1)

dilshod
dilshod

Reputation: 89

There are currently no ways to update JSON properties using JsonPath. The only way is with jsonb query jsonb_set

Upvotes: 0

Related Questions