[TYPO3-core] RFC #11916: Feature: New TYPO3_DB method for queries that expect just a single result row
Jigal van Hemert
jigal at xs4all.nl
Sun Nov 14 15:28:21 CET 2010
Hi,
On 13-11-2010 19:09, Benjamin Mack wrote:
> comment for $numIndex was wrong. Attached is v3 which fixes this.
+1 by reading with two questions/remarks:
1. The debug line could be copied from exec_SELECTgetRows() (three lines
with {})
2. if $output is initialized outside the if (!$this->sql_error()), how
can I distinguish between an empty result set and an error? (if
exec_SELECTgetRows() returns NULL something must have gone wrong)
Other than that a nice addition.
--
Kind regards / met vriendelijke groet,
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-team-core
mailing list