How does searching in kodular pairs work?
As I understand it, when the APK is installed for the first time, the initializer looks for the label ID in TinyDB, and if the value does not exist, it considers it to be 1. This way, it then calls the Label ID in the FireBase. The value found in ID, is added +1 and stored in TinyDB with the label ID. Then a new Firebase ID is recorded again with the new Firebase ID that will be stored.
My question is, is this ID then generated in TinyDB unique?
This way every time the person places a new order, if using a Delivery, will this ID always be the order reference?
If YES, then we should never delete the TinyDB ID label that was generated on the first access of the apk.
I was doing it wrong, and with every completed order, I was deleted the TinyDB ID label. In this way always creating a new ID.
I would like you to comment on this topic.