top | item 40772798 (no title) chilling | 1 year ago You are right. It just should be like so:Get: const likes = (await kv.hget(postTitle, "likes")) || 0 Post: const likes = await kv.hincrby(postTitle, "likes", 1); discuss order hn newest No comments yet.
No comments yet.