Skip to content

Instantly share code, notes, and snippets.

@betawax
Created June 30, 2011 09:38
Show Gist options
  • Save betawax/1055927 to your computer and use it in GitHub Desktop.
Save betawax/1055927 to your computer and use it in GitHub Desktop.
Output the last built query in a TYPO3 Extension
$GLOBALS["TYPO3_DB"]->store_lastBuiltQuery = TRUE;
echo $GLOBALS["TYPO3_DB"]->debug_lastBuiltQuery;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment