91
Views
6
Comments
Indexes in Local Storage
Question

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

2016-05-04 16-40-03
Carlos Xavier
Staff

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?

2022-02-18 15-32-27
João Almeida
Champion

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).

2016-05-04 16-40-03
Carlos Xavier
Staff

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.

2022-02-18 15-32-27
João Almeida
Champion

Thanks! 

UserImage.jpg
IAMAR ZUZA DE ARAUJO

Carlos Xavier wrote:

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.

Did you ?


UserImage.jpg
IAMAR ZUZA DE ARAUJO

Oh Man .. Do you have already resolved this ? I'm developing a serious application with large database offline and i hope this so important funcionality be available ! 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.