Issue Feature Rejected

#20403Add TYPO3_DB->exec_SELECTgetField() function

Stefan Geith 05/08/09, 09:29 updated 06/08/11, 07:32

Description

We often need to read associative arrays from the database that contains only one field from the table e.g. uid=>title oder even only a uid-list.

This could be done with a new function exec_SELECTgetField() in TYPO3_DB.
See Patch attached.

This is useful e.g. for:
- getting an array with Kategorie-Names for a given Category-UID
- or the other way round for getting UIDs for a given Category-Name
- getting an array with UIDs only, that can be processed further by e.g. implode() etc.
(issue imported from #M11050)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.