Indexes in Local Storage

Indexes in Local Storage


Hi everyone! Is it possible to define indexes for Local Storage entities? 

Hi João,

No, it is not possible. What were you trying to achieve with the index? Better performance in queries? Uniqueness in a column?

Hi Carlos,

Better performance, it had to do with a use case where some thousands of records needed to be synced offline to a device for a local search. I was trying to create an index on a text column used on searches on improve performance (the use case is with an old phone, which does no help).

Hum... Unfortunately I don't have a workaround for you. I'll take the use case to the right team so they can take this into consideration in the future. Thank you very much for your feedback.