【发布时间】:2018-05-10 20:18:18
【问题描述】:
似乎如果我有密钥test1.test2,则无法转义此点以按原样使用此密钥。
表达式:
sqlite> update collections set json_nodes = (select json_set(json(collections.js
on_nodes), '$.test.test1', json('123')) from collections);
会导致
{"test":{"test1":123}}
【问题讨论】:
-
欢迎来到 Stack Overflow,为什么会有这个星座?
-
你试过反斜杠吗?
-
update collections set json_nodes = (select json_set(json(collections.js on_nodes), '$."test.test1"', json('123')) from collections);或 '$.test.test1]'
标签: sqlite sqlite-json1