summaryrefslogtreecommitdiff
path: root/ext/kv/lib.rs
diff options
context:
space:
mode:
authorHeyang Zhou <zhy20000919@hotmail.com>2023-12-14 00:58:20 +0800
committerGitHub <noreply@github.com>2023-12-14 00:58:20 +0800
commit10ab8c1ef1ccc93bd810c5636e2a70bb7c37e91e (patch)
tree889605d974ed6d06ee74a44c624e7a1d7c986559 /ext/kv/lib.rs
parent76a6ea57753be420398d3eba8f313a6c98eab8c3 (diff)
feat(unstable): append commit versionstamp to key (#21556)
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r--ext/kv/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs
index 943aae460..e78526856 100644
--- a/ext/kv/lib.rs
+++ b/ext/kv/lib.rs
@@ -530,6 +530,9 @@ fn mutation_from_v8(
("sum", Some(value)) => MutationKind::Sum(value.try_into()?),
("min", Some(value)) => MutationKind::Min(value.try_into()?),
("max", Some(value)) => MutationKind::Max(value.try_into()?),
+ ("setSuffixVersionstampedKey", Some(value)) => {
+ MutationKind::SetSuffixVersionstampedKey(value.try_into()?)
+ }
(op, Some(_)) => {
return Err(type_error(format!("invalid mutation '{op}' with value")))
}