Revision: 32185
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 20, 2010 21:47 by pogosheep
Initial Code
$GLOBALS['TYPO3_DB']->store_lastBuiltQuery = 1; echo $GLOBALS['TYPO3_DB']->debug_lastBuiltQuery;
Initial URL
Initial Description
You can get the last query by using the following code. Insert the first line before the query and TYPO3 will store each query. You can get the last query with the second line.
Initial Title
Debug last TYPO3 SQL-Statement
Initial Tags
sql, debug
Initial Language
PHP