[Typo3-dev] DBAL usage question

Rainer Kuhn kuhn at punkt.de
Fri Apr 22 16:16:42 CEST 2005


Hi Arne,

thanks for your reply.

> If you really must, you can. But keep in mind that part of the idea
> behind the DBAL is to let you change backend databases without having to
> mess with the SQL code in your PHP code. using sql() will break this in
> one swift stroke. 

This is the point I do not understand completely. As mentioned in "Building 
queries" of the CGL (http://tinyurl.com/bnfxf) $GLOBALS['TYPO3_DB']->sql() 
is part of the wrapper functions for MySQL. Are these wrapper functions 
_not_ going to be replaced/abstracted for different databases later (as the 
ones from the "exec family")?

Rainer




More information about the TYPO3-dev mailing list