Why is the order of index after fetch out of order?

clipboard.png

clipboard.png

clipboard.png

Jun.28,2022

Asynchronous requests are all like this. You have to consider network fluctuations, server processing time and so on. A request may not be sent and received first. The return order of
is not necessarily normal. I thought you sent it in a different order.


to be exact, the order of console calls is out of order, because the response time of different interfaces is different, and the time of calling your replys = > {console.log (index)} method is different

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beebfd-313a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beebfd-313a4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?