[TYPO3-dev] DBAL mapping columns back to result set

Xavier Perseguers xavier at typo3.org
Thu Jun 23 15:34:23 CEST 2011


Hi Jigal,

> It almost seems that only the first table columns get mapped back to the
> TYPO3 names.
> I'd like to verify this and provide a fix, but I couldn't find where
> this mapping is performed. Any hints?

Mapping from TYPO3 SQL query to DBMS SQL is done at the beginning of the 
exec_SELECTquery() method.

The other way around (where you should look after) is when you retrieve 
recordset using string keys and not numeric indices, that is in 
sql_fetch_assoc().

HTH

-- 
Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org





More information about the TYPO3-dev mailing list