making the id unique in the db. On the other hand how do you consider the "at the same exact time" ? It's a very low chance that two orders will land exactly at the same time (with milliseconds). Why not use your already generated auto incremental id and you sum the prefix when returning it?
Nice
Обсуждают сегодня