Last active 1728394795

nithir's Avatar nithir revised this gist 1728394794. Go to revision

1 file changed, 7 insertions

sqlite.py(file created)

@@ -0,0 +1,7 @@
1 + # SQLITE sait interroger une donnée en json.
2 + # si le champ est un champ text qui contient du json, on peut directement requeté sur le champ =)
3 + # et on peut aussi reformater un champ date
4 +
5 + json = json_extract('{"a":2,"c":[4,5,{"f":7}]}', '$')
6 + print(json)
7 + # {"a":2,"c":[4,5,{"f":7}]}
Newer Older