字符串类型 KV 示例
运行日志
- 首先创建了一个 KV 名为
"temp"
,并给予初值 36℃ - 修改
"temp"
KV 的值为 38℃ - 最后删除
"temp"
KV
[FlashDB][sample][kvdb][string] ==================== kvdb_type_string_sample ====================
[FlashDB][sample][kvdb][string] get the 'temp' value is: 36C
[FlashDB][sample][kvdb][string] set 'temp' value to 38C
[FlashDB][sample][kvdb][string] delete the 'temp' finish