Search found 1 match

Go to advanced search

by Dhananjay Mahajan
Wed Jul 22, 2015 7:25 am
Forum: Issues
Topic: How to generate a unique auto increment number in a collection
Replies: 9
Views: 1172
 
Jump to post

How to generate a unique auto increment number in a collection

Hi This is what i do. In the UserData collection i have a seed starting number for every user code. I generate a concatenation of userid and this number to create a unique alphanumeric order id. (of course with every order the Userdata record is updated to get the next number). Caution : This may cr...

Go to advanced search