martpetM
Deno3y ago
martpet

Deno KV: subtract with `sum` operation?

If I do
.sum([key], 1n)
the value is increased by 1. How can I decrease it? I tried
.sum([key], -1n)
but it doesn't work.
Was this page helpful?