ZhangZhihui's Blog  

2024年1月12日

摘要: Automatic creation and removal of keys So far in our examples we never had to create empty lists before pushing elements, or removing empty lists when 阅读全文
posted @ 2024-01-12 15:57 ZhangZhihuiAAA 阅读(15) 评论(0) 推荐(0)
 
摘要: Use cases JSON use cases You can of course use Redis native data structures to store JSON objects, and that's a common practice. For example, you can 阅读全文
posted @ 2024-01-12 15:07 ZhangZhihuiAAA 阅读(6) 评论(0) 推荐(0)
 
摘要: 127.0.0.1:6379> JSON.GET store $..headphones[?(@price<70&&@wireless==true)] [{"id":12346,"name":"Wireless earbuds","description":"Wireless Bluetooth i 阅读全文
posted @ 2024-01-12 14:13 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0)
 
摘要: Syntax elementDescription $ The root (outermost JSON element), starts the path. . or [] Selects a child element. .. Recursively descends through the J 阅读全文
posted @ 2024-01-12 10:38 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0)