We are integrating the cloud APIs and we want to store the following player data in the cloud:
-
No of power ups available
We tried using Shephertz's storage api. We were successful in saving the data to database and collections but we are having problems regarding querying the data back.
Each document has a document ID which can be used to query data but the document IDs are returned in the form of a list. How can we query a particular doc ID for a particular document?
For example I have multiple documents for level, XP, power up and I want to query the power up data. I will get a list of doc IDs in the callback function when I save the data. Now how do I know which docid is for power up data?