Pike v8.1 release 6

Method Sql.pgsql_util.sql_result()->num_rows()


Method num_rows

final int num_rows()

Note

This method returns the number of rows already received from the database for the current query. Note that this number can still increase between subsequent calls if the results from the query are not complete yet. This function is only guaranteed to return the correct count after EOF has been reached.

See also

Sql.sql_result()->num_rows()