How to get storage id #4652
-
When I store something with I want to try storing in sqlite db instead. I tried looking up the sqlite database example but I couldn't run it for some reason and I do not have experience with Tortoise (planning to use sqlalchemy instead). Even if I did store something via db, I don't know how to differentiate between 2 different users storage aka I don't know how to get the storage id. Like I don't know how nicegui generates UUID and assigns it the browsers. There's no documentation about it either. I looked via dev tools to see if it's visible but I couldn't find anything.Can someone guide me on how to approach this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Beta Was this translation helpful? Give feedback.
Long story short:
app.storage.browser['id']
Test script: