How to allow increments to a value instead of replacing? #931
Unanswered
joshbartley
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to count unique events that occur based off a key. Redis has a StringIncrement function, but I'm trying to use a local KV store and tried to setup a quick POC with FASTER. Code below.
When I do a
session.Upsert(ref key, ref value);
orsession.RMW(ref key, ref value);
the value doesn't change. I'm sure it's theSimpleFunctions2
class, though I have no idea why and I'm just stuck. I tried the examples but the learning curve is steep. How can I set this up to increment a value on each operation?Beta Was this translation helpful? Give feedback.
All reactions