Why can't lua operate mysql, with prepare?? CPP/lua

the library I use is luasql-mysql,. I found that there is no operation interface that supports prepare, so I wonder, in actual development, aren"t developers afraid of sql injection?

Aug.02,2021

use cPP to implement prepare, export to lua script, so you don't have to worry about sql injection anymore.

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