Here’s my problem:
The table will have key-value pairs and can have multiple values for same key.
Key Value
K1 V1
K1 V2
K2 V2
K2 V3
I will have only one type of queries:
- Retrieve all Keys which has all values(V(i), V(i + 1), …, V(j)).
What is the best way of doing this?
I would try
mongodb. You can store documents and query like that:To find all elements: