国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

MySQL-Speicher-JSON-Fehler
phpcn_u1582
phpcn_u1582 2017-06-06 09:52:13
0
1
1020

Vor Kurzem verwende ich das JSON-Speicherformat von MySQL und es ist ein sehr seltsames Problem aufgetreten.

INSERT INTO `json` (`notes`) VALUES ('[{"name":1}]');
我用上述語句插入json數(shù)組,navicat的顯示是正常的

當(dāng)我用
UPDATE json SET notes =json_array_append(notes, '$' , '["sa"]' ) WHERE ID=6;Das Escape-Zeichen erscheint beim Hinzufügen eines neuen JSON

Was ist das Problem?

phpcn_u1582
phpcn_u1582

Antworte allen(1)
黃舟

json_array_append(notes, '$' , '["sa"]' ) 改為json_array_append(notes, '$' , CAST('["sa"]' AS JSON))

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage