db\DataReader count()

count() public method

Returns the number of rows in the result set.

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 integer count ( )
return integer

Number of rows contained in the result.

doc_Yii
2016-10-30 16:58:01
Comments
Leave a Comment

Please login to continue.