php-doc-en/reference/pdo/pdostatement
Christoph Michael Becker 03cc650911 Removed misleading example from rowCount()
The example given was confusing and misleading. If the purpose of it is
to show how to get the count of matching records from the database then
the example can be much shorter. `query()` should not be checked with
`if` statement and there should not be 2 separate queries to the
database if the actual count is not needed. If the number of fetched
records is needed then you can simply use PHP's `count()` function.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351083 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 13:13:47 +00:00
..
bindcolumn.xml
bindparam.xml Fix #76693: Notation / warning should be made for mutation of &$variable in bindParam 2020-04-07 12:38:14 +00:00
bindvalue.xml
closecursor.xml Remove trailing fullstop in <refpurpose> 2018-01-25 15:34:22 +00:00
columncount.xml Fix #66613: PDOStatement::columnCount and empty result sets 2016-06-29 12:53:26 +00:00
debugdumpparams.xml Documented all new PDO functionality in 7.2, and did some minor cleanups 2017-11-29 18:42:13 +00:00
errorcode.xml
errorinfo.xml Qualify PDO $errorInfo field descriptions, drivers may return additional data 2019-06-22 00:00:07 +00:00
execute.xml Remove more changelog entries, mostly from PHP 5.2 era 2020-09-26 13:52:31 +00:00
fetch.xml Fix #53394: Insufficient docs regarding PDOStatement::fetch(Object) and constructors 2016-06-29 11:03:39 +00:00
fetchall.xml Docs bug #66542: Fix inconsistencies in PDOStatement::fetchAll() examples 2017-03-16 12:17:12 +00:00
fetchcolumn.xml Fix return values section 2016-11-30 12:06:07 +00:00
fetchobject.xml Remove trailing fullstop in <refpurpose> 2018-01-25 15:34:22 +00:00
getattribute.xml
getcolumnmeta.xml Remove more changelog entries, mostly from PHP 5.2 era 2020-09-26 13:52:31 +00:00
nextrowset.xml
rowcount.xml Removed misleading example from rowCount() 2020-10-30 13:13:47 +00:00
setattribute.xml
setfetchmode.xml fix initialisers for PDO::FETCH_* prototypes (doc bug #78328) 2019-07-24 08:48:14 +00:00