Hi Soumen,
On 20/01/2020 10.01, Soumen Khatua wrote:
> Hi Folks,
>
> I want to generate unique 6 digit primary key for django models and I
> want to generate this for 10 billon users. So guys please could you tell
> me How I can do that?
>
You want to generate a number between 0 and 1.000.000 that should be
unique for 10.000.000.000 instances?
I hope you can understand why that doesn't make any sense.
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2e919c12-58dd-d954-d584-606b73e9124c%40stacktrace.dk.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment