Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how order-id work for this example #1

Closed
vahidalvandi opened this issue Dec 13, 2018 · 2 comments
Closed

how order-id work for this example #1

vahidalvandi opened this issue Dec 13, 2018 · 2 comments

Comments

@vahidalvandi
Copy link

vahidalvandi commented Dec 13, 2018

i create three item with order-id and insert in db , then i went swap them .

for example

1 ( 100000000 )
2 ( 100200000 )
3 ( 100400000 )

i need set item 3 up to 1

how i can use this package to generate unique order-id lower than 100000000 ??

@mderazon
Copy link
Owner

Hi.

The library is not intended to produce deterministic results. It produces a random looking number that is based on encrypting a timestamp

@vahidalvandi
Copy link
Author

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants