602SQL Documentation Index  

wb_num_rows

PHP

integer wb_num_rows( resource cursor )


Parametry

cursor
Identifier of an opened cursor, get by calling the wb_exec or wb_psql_execute function.


Popis

This function returns the number of rows in the opened cursor. It is not recommended to use this function for cursors with many records, since a call to this function evaluates the entire cursor, which may take a very long time.



Návratová hodnota

Number of rows in a cursor, or -1 if an error occurs.