See below, but be aware that the method described does not guarantee uniqueness. There is plenty of discussion about this in the thread, but the bottom line is that operations in Glide are not atomic, so if you need to guarantee uniqueness then you need to offload the allocation of IDs to some 3rd party, and ensure that requests are handled serially.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Does glide have auto increment id ?or number other than this one | 2 | 192 | November 25, 2024 | |
| How to Automate Number Generation (No Repetition) | 2 | 172 | April 2, 2024 | |
| Simple ROW ID | 5 | 635 | February 7, 2024 | |
| Auto Increment | 5 | 2666 | September 15, 2022 | |
| Basic Question | 3 | 651 | April 16, 2022 |