Reset count in GQL (Google App Engine)
-
18-09-2019 - |
Question
I'm having a hard time trying to reset my ID/Name column in my google app. Right now it's on 3002, yet there's only 1 other peice of data still in the DB. I'm not even certain how it decided on 300x over like 1,2,3...
I'm sure this is a simple problem for someone more SQL inclined than I am :).
Thanks in advance!
Solution
You can't. Generated IDs are guaranteed to be unique, but not sequential or contiguous. There's no facility for resetting the ID counters.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow