PHP-MySQLi-Database-Class
PHP-MySQLi-Database-Class copied to clipboard
Add DESCRIBE to rawAddPrefix
Trying to get all fields in a table, I have an error saying Undefined index 0 on MysqliDb.php, line 559.
I am using rawQuery("DESCRIBE table-name");
. Looks like rawAddPrefix is not able to extract the table name because it doesn't look for the keyword 'describe', as it does for from, into, update and join. This commis adds 'describe' in the list so we now can use DESCRIBE keyword and get all columns for a table.
#951
thank you!