Name

Method: statement_handle.numrows( )

Signature

rowcount = statement_handle.numrows()

Synopsis

Assuming the results of the SQL represented by this statement handler came from a SELECT, this method provides the number of rows in the result set.

Example

rowcount = hndl.numrows()

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.