How to block SHOW COLUMNS by thinkphp3.2

thinkphp3.2  SHOW COLUMNS,
Jul.16,2022

that's getting table field information. Read the table field of the database directly in debug mode. If there is a cache in non-debug mode, reads will be less frequent, and table structure changes in non-debug mode can only be updated by uploading the cache.
in thinkphp5, you can use php think optimize:schema to generate table structure cache


change the frame source code and filter show columns

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