FreeBSD Manual Pages
mysql_num_rows(3) MariaDB Connector/C mysql_num_rows(3) Name mysql_num_rows - Returns number of rows in a result set. Synopsis #include <mysql.h> my_ulonglong mysql_num_rows(MYSQL_RES * ); Description Returns number of rows in a result set. Parameters • MYSQL_RES - a result set identifier returned by mysql_store_result(3) or mysql_use_result(3). ### Notes The behaviour of mysql_num_rows() depends on whether buffered or unbuffered result sets are being used. For unbuffered result sets, mysql_num_rows() will not return the cor- rect number of rows until all the rows in the result have been re- trieved. See also • mysql_affected_rows(3) • mysql_use_result(3) • mysql_store_result(3) Version 3.4 mysql_num_rows(3)
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mysql_num_rows&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>