问题
How to modify a field using jsonPath in PostgreSQL like SQL Server JSON_MODIFY (https://docs.microsoft.com/en-us/sql/t-sql/functions/json-modify-transact-sql?view=sql-server-ver15)?
Thanks!
回答1:
There are currently no ways to update JSON properties using JsonPath. The only way is with jsonb query jsonb_set
来源:https://stackoverflow.com/questions/62006261/how-to-modify-field-with-jsonpath-in-postgresql