I’m currently implementing sqllite storage in framework7 app. I’m trying to set a unique id for every item it stores as it makes deleting and replacing a lot more easier. I’m using following string to generate unique ids:-
(Date.now().toString(36) + Math.random().toString(36).substr(2, 5)).toUpperCase()
Is there any other way to set unique id’s or this method will be sufficient to generate unique id?