1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/vendor/MDBC/man/mysql_num_rows.3

36 lines
919 B
Groff
Raw Normal View History

.\" Automatically generated by Pandoc 2.5
.\"
.TH "mysql_num_rows" "3" "" "Version 3.2.2" "MariaDB Connector/C"
.hy
.SS Name
.PP
mysql_num_rows \- Returns number of rows in a result set.
.SS Synopsis
.IP
.nf
\f[C]
#include <mysql.h>
my_ulonglong mysql_num_rows(MYSQL_RES * );
\f[R]
.fi
.SS Description
.PP
Returns number of rows in a result set.
.SS Parameters
.IP \[bu] 2
\f[C]MYSQL_RES\f[R] \- a result set identifier returned by
\f[B]mysql_store_result(3)\f[R] or \f[B]mysql_use_result(3)\f[R].
### Notes The behaviour of \f[C]mysql_num_rows()\f[R] depends on whether
buffered or unbuffered result sets are being used.
For unbuffered result sets, \f[C]mysql_num_rows()\f[R] will not return
the correct number of rows until all the rows in the result have been
retrieved.
.SS See also
.IP \[bu] 2
\f[B]mysql_affected_rows(3)\f[R]
.IP \[bu] 2
\f[B]mysql_use_result(3)\f[R]
.IP \[bu] 2
\f[B]mysql_store_result(3)\f[R]