diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-05-23 15:35:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 16:35:16 +0200 |
commit | 0b8deca08b9257c41055b4f34ebdaf1459b2de89 (patch) | |
tree | a26602ffb9ee4ea88271722829252ba3b4b5c1eb /ext/kv/lib.rs | |
parent | aeafb7b39ed6e0cb7601be53f63a5c6e0f2aa1a8 (diff) |
chore: update denokv_* crates (#23949)
Co-authored-by: losfair <zhy20000919@hotmail.com>
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r-- | ext/kv/lib.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs index 285614389..8a57d610d 100644 --- a/ext/kv/lib.rs +++ b/ext/kv/lib.rs @@ -534,7 +534,12 @@ fn mutation_from_v8( let kind = match (value.1.as_str(), value.2) { ("set", Some(value)) => MutationKind::Set(value.try_into()?), ("delete", None) => MutationKind::Delete, - ("sum", Some(value)) => MutationKind::Sum(value.try_into()?), + ("sum", Some(value)) => MutationKind::Sum { + value: value.try_into()?, + min_v8: vec![], + max_v8: vec![], + clamp: false, + }, ("min", Some(value)) => MutationKind::Min(value.try_into()?), ("max", Some(value)) => MutationKind::Max(value.try_into()?), ("setSuffixVersionstampedKey", Some(value)) => { |