The problem of storing POST data in MongoDB after PHP accepts MongoDB data

currently uses TP5.0 "s framework. Since there is a large form with more than 30 fields in the background, do you have to write a field dictionary first, and then judge that Filter has dropped the extra fields (for example, someone else may submit a field such as is_admin).
if you want to write a dictionary, it feels like there are many fields. I don"t know if there is any quick way. So I would like to ask you, when saving Mongo, do you usually accept it all according to the order or do you have a field limit?

allowField (true) has just been configured in tp5, and this method is invalid because mongo does not have a fixed table structure.

Oct.12,2021
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-1b3b35b-34626.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-1b3b35b-34626.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?