Storage questions

So, I’m reading through the docs and I’ve got a bunch of questions.

Let’s say I use a global storage and save a number of items with the keys like this?

  • {uniqueID}:{something1}
  • {uniqueID}:{something2}
  • {uniqueID}:{something3}

Question 1: I assume there is no way to query all the values which would start with uniqueID, right? Any way to count the amount of key/value pairs stored?

Question 2: Let’s say user does not delete the values or there simply is no functionality for that and over time the storage will be full with unused and unneeded values stored. How are you cleaning up the storage?

Hello there @dmvv,

  1. There is no native way of querying all pairs where the key contains a specific string.

  2. You can delete values as explained here if that is the question :smile:

Let me know if you have any other questions!

Cheers,
Matias

Yes, I know we can manually delete the value. But let’s say an app is deleted by the user. Do the storage items stay on your servers indefinitely?

Yes, the storage items stay on the servers unless deleted.

This reminds me of a similar discussion around secure storage on monday-code.