[TYPO3-mvc] RFC: #13151 getObjectCountByQuery() should return an integer

Georg Ringer mail at ringerge.org
Fri Feb 18 11:59:42 CET 2011


But t3lib_db has following implementation:
--------------
function sql_num_rows($res) {
		if ($this->debug_check_recordset($res)) {
			return mysql_num_rows($res);
		} else {
			return FALSE;
		}
	}
--------------

and also states "@return	integer		Number of resulting rows"

maybe it is the chance of extbase to have correct values returned

Georg


More information about the TYPO3-project-typo3v4mvc mailing list