# Copyright (c) reifydb.com 2025
# This file is licensed under the Apache-2.0, see license.md file
# This file includes and modifies code from the toydb project (https://github.com/erikgrinaker/toydb),
# originally licensed under the Apache License, Version 2.0.
# Original copyright:
# Copyright (c) 2024 Erik Grinaker
#
# The original Apache License can be found at:
# http://www.apache.org/licenses/LICENSE-2.0
# Get should return the correct latest value.
import key=1 updated=1 removed=1 tombstone=
import updated=2 removed=
---
ok
t1: begin readonly
t1: scan
---
t1: "key" => "1"
t1: "updated" => "2"
# Get results should mirror scan.
t1: get key updated removed tombstone missing
---
t1: "key" => "1"
t1: "updated" => "2"
t1: "removed" => None
t1: "tombstone" => None
t1: "missing" => None