阅读背景:

Postgres JSON字段更新与ActiveRecord。

来源:互联网 

What's the best way to use update with a json field. I'd like my JSON field to accept new keys or update existing keys, but not overwrite the entire field. ActiveRecord does a nice job of just updating fields that changed, but I don't understand how to apply that to the sub-fields in the json record... with a json f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: