String type KV example

    Run log

    • First create a KV named "temp" and give the initial value 36℃
    • Modify the value of "temp" KV to 38℃
    • Finally delete "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