1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright (c) reifydb.com 2025
# This file is licensed under the Apache-2.0, see license.md file
# Tests Delta::Unset for single-version store.
# Unset preserves deleted values (for CDC), unlike remove which doesn't.
set a=1
---
ok
get a
---
"a" => "1"
# Unset with preserved values
unset a=1
---
ok
get a
---
"a" => None
# Key should not exist in scan
scan
---
ok
# Test unset of multiple keys
set b=2
set c=3
---
ok
scan
---
"b" => "2"
"c" => "3"
unset b=2
---
ok
scan
---
"c" => "3"