Does the newly added record in mongodb have to be on the last line of collection?

Does the newly added record in
  1. mongodb have to be on the last line of collection?
Mar.30,2021

if it refers to the physical location, it is definitely not.
is not quite sure what the actual problem you are focusing on is. If you need it to appear last in find , simply add .sort ({_ id: 1}) .


even if the single station is on the last line. What about in a sliced environment?

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-1b36d22-2c028.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-1b36d22-2c028.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?