[TYPO3-core] RFC #10786: Add a wrapper for mysql_fetch_field in t3lib_db

Michael Stucki michael at typo3.org
Wed May 13 11:40:42 CEST 2009


Hi Masi,

Martin Kutschker schrieb:
>> Problem:
>> The Extbase persistence needs a new database method to fetch extended
>> field information for a query result with joined tables (e.g. for eager
>> loading of "has one" relations). This can be done with mysql_fetch_field
>> but it is not available as a wrapper function in t3lib_db right now.
>>
>> Solution:
>> Add a sql_fetch_field wrapper function to t3lib_db.
> 
> I tried to find the equivalent for this command for PostgreSQL. But I
> failed.

Can you collect the field information in any way? I guess so.
If it's possible, the dbal wrapper just needs to simulate the behaviour 
of the function. It will be slower, but I don't think it's not possible 
at all...

- michael

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list