Concept Flow - HINCRBY for numeric fields
Start with hash key and field
Check if field exists in hash?
No→Initialize field to 0
Yes
Get current numeric value
Add increment to current value
Update field with new value
Return new value
End
This flow shows how HINCRBY checks a field in a hash, initializes it if missing, increments its numeric value, updates the field, and returns the new value.