diff options
author | Heyang Zhou <zhy20000919@hotmail.com> | 2023-12-14 00:58:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 00:58:20 +0800 |
commit | 10ab8c1ef1ccc93bd810c5636e2a70bb7c37e91e (patch) | |
tree | 889605d974ed6d06ee74a44c624e7a1d7c986559 /ext/kv/lib.rs | |
parent | 76a6ea57753be420398d3eba8f313a6c98eab8c3 (diff) |
feat(unstable): append commit versionstamp to key (#21556)
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r-- | ext/kv/lib.rs | 3 |
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"))) } |