[Typo3-dev] DBAL usage question

Karsten Dambekalns karsten at typo3.org
Fri Apr 22 17:26:50 CEST 2005


Hi.

Rainer Kuhn wrote:
> I'm going to rewrite my extensions step by step using TYPO3 DBAL. In my
> existing non-DBAL code I stored all SQL queries and their results in some
> kind of trace log (using my method $this->traceLog()). I would like to
> keep this way of logging, so I need the queries assembled by the DBAL
> functions as a string for my log.

If you enable DBAL logging you can have all queries logged. If you want to
know what happens, often (at least during development) the easiest way is
to have MySQL log all the queries, though. Is this an option here?

Karsten
-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/




More information about the TYPO3-dev mailing list