Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maximum auto generated id in Google App Engine datastore?

What is the maximum auto generated id in Google App Engine datastore?

Why this question?

I would like to show a more user-friendy id to my customer in a format like ####-####-#### using the alphabet:

 0123456789ABCDEFGHIJKLMNPQRSTUVWXYZ

the character O has been removed to avoid confusion with the digit 0.

I need to know how many groups of ### are needed to represent all the ids.

like image 968
Tony Baguette Avatar asked Oct 24 '25 18:10

Tony Baguette


1 Answers

2^53 (the integer portion of a 64-bit float)

like image 199
Alfred Fuller Avatar answered Oct 27 '25 07:10

Alfred Fuller