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.
- $GLOBALS['TYPO3_DB']->store_lastBuiltQuery = 1;
- echo $GLOBALS['TYPO3_DB']->debug_lastBuiltQuery;
CommentsSubscribe to comments
You need to login to post a comment.