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
# Copyright (c) reifydb.com 2025
# This file is licensed under the Apache-2.0, see license.md file
# Tests drop after remove (both result in key not existing).
set a=1
---
ok
contains a
---
"a" => true
remove a
---
ok
# After remove, key doesn't exist
contains a
---
"a" => false
get a
---
"a" => None
# Drop should also work on already-removed key (no-op)
drop a
---
ok
# Still doesn't exist
contains a
---
"a" => false
get a
---
"a" => None