Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
db
DataReader
count
yii\db\DataReader::count PHP Method
DataReader Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
count()
public
method
This method is required by the Countable interface. Note, most DBMS may not give a meaningful count. In this case, use "SELECT COUNT(*) FROM tableName" to obtain the number of rows.
public
count
( ) :
integer
return
integer
number of rows contained in the result.
public function count() { return $this->getRowCount(); }
DataReader
__construct
bindColumn
close
count
current
getColumnCount
getIsClosed
getRowCount
key
next
nextResult
read
readAll
readColumn
readObject
rewind
setFetchMode
valid