getAllItems with keys only

Hello again!

Is there a possibility to request the keys of all items stored in Server/AppStorage? Right now, getAllItems retrieves keys and values (which does not seem very efficient if only keys are required)

Kind regards,

Andreas Rozek

This is isn’t currently possible. Server storage is modeled after local storage and believe it or not you’re the first person to ask. I can add a note to implement this functionality in a future release. For the moment you might be able to fake it by keeping a list of keys manually.

Hello James!

Keeping a local list of keys does not make sense if several devices may access the same ServerStorage space, keeping such a list in ServerSpace has a high probability of collisions.

But, nevertheless, thanks for your answer - I’ll keep downloading all items at once…

Kind regards,

Andreas Rozek