[TYPO3-mvc] output the created sql

Martin Kutschker masi-no at spam-typo3.org
Mon Apr 19 12:16:45 CEST 2010


Jochen Rau schrieb:
> 
> But they have implemented $db->explain() which gives a nice printout of
> the SQL query behavior. We could implement this in Extbase, too. So you
> can use $query->explain() instead of $query->execute().

Asking the DB to show you the query plan is nice, so +1 for the idea, but sometimes yoou really want
only to see the SQL statement and nothing more. A simple $query->show() or $query->showSql() would do.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list