I am new to Typo3. I am using 6.1 version of it.
I need to display the MySQL query generated from the query object. Please let me know how can I do that?
Below is the code snippet that is in my repository class.
$query = $this->createQuery();
$query->getQuerySettings()->setRespectStoragePage(false);
$query->matching(
$query->equals('id',intval($id))
);
return $query->execute();
I need to display the MySQL query before executing and returning the result of the query.
Please let me know how can I do that.
Thanks in advance.