I am using Node.js and Redis in my application. My Redis data structure is as below,
Key: Txn:TxnID
Value: Hash map(StatusCode, StatusMessage, Name, Company)
I need to create a report from this data structure which should give number of transactions in different StatusCode like 0, -1, 1, 2 etc. I tried hgetall, KEYS functions none of them fits my scenario. And I know Redis doesn't support functions like 'select * from where'.
Can anyone please let me know is there a way to get what I am looking here?
Thanks.