Welcome Guest, Not a member yet? Register   Sign In
Debug Toolbar -> show whole SQL query on error
#1

Hey guys,
the toolbar is rather useless in its current state if a sql query error occurs. For example
-----------------------------------------------
CodeIgniter\Database\Exceptions\DatabaseException #1054
Unknown column 'a.status' in 'field list'
 ----------------------------------------------
One has to scroll down the call stack to manually find the code where the query was executed which is unnecessarily time consuming.
Instead, the last query should be printed on top to quickly identify the corresponding code.

Thanks!
Reply


Messages In This Thread
Debug Toolbar -> show whole SQL query on error - by petewulf1 - 03-19-2025, 01:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB