字符串类型 KV 示例

    运行日志

    • 首先创建了一个 KV 名为 "temp" ,并给予初值 36℃
    • 修改 "temp" KV 的值为 38℃
    • 最后删除 "temp" KV
    1. [FlashDB][sample][kvdb][string] ==================== kvdb_type_string_sample ====================
    2. [FlashDB][sample][kvdb][string] get the 'temp' value is: 36C
    3. [FlashDB][sample][kvdb][string] set 'temp' value to 38C
    4. [FlashDB][sample][kvdb][string] delete the 'temp' finish