Hi -
I am required to generate unique custom ‘user ids’ for users registering on my app.
Initially I thought to create a pool of Ids in a table (as rows), and pull from it in ‘beforeRegister’ event - however, I am not able to find any API/mechanism to synchronize my operation on a table, so as 2 or more concurrent registrations do not try to use same id.
Can you please suggest any way around ??
Thanks.