Tell me one simple usecase for storing mutiple keys with json data

+2 votes
Hello Multichain team, I know this stream feature has come as enhancement on multichain 1.x version .  what I  am not able to understand  is how to use multiple keys against json data ? can you please give a simple usecase where it helps .
asked Jan 25, 2018 by amar

1 Answer

+2 votes
It's useful if you want to have stream items categorized in multiple ways for easy retrieval. For example if it contains employee information, you might add keys for department, job title, and location. Then you can easily retrieve information on all employees in a particular department or location.
answered Jan 25, 2018 by MultiChain
that sounds good to me. but am I allowed to search stream with multiple keys ? say If want to search all the employees in this stream with "XYZ" dept with "ABC" title ?
Not currently, though that's a good idea for a future feature.
...