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

.
Menu