summaryrefslogtreecommitdiffstats
path: root/libmariadb/man/mysql_stmt_data_seek.3
blob: 9b896f449a6efdaca4b9ce0b50c870aba74ded9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.\" Automatically generated by Pandoc 2.5
.\"
.TH "mysql_stmt_data_seek" "3" "" "Version 3.3.1" "MariaDB Connector/C"
.hy
.SS Name
.PP
mysql_stmt_data_seek \- Seeks to an arbitrary row in statement result
set
.SS Synopsis
.IP
.nf
\f[C]
#include <mysql.h>

void mysql_stmt_data_seek(MYSQL_STMT * stmt,
                          my_ulonglong offset);
\f[R]
.fi
.SS Description
.PP
Seeks to an arbitrary row in statement result set obtained by a previous
call to \f[B]mysql_stmt_store_result(3)\f[R].
.SS Parameter
.IP \[bu] 2
\f[C]stmt\f[R] \- a statement handle, which was previously allocated by
\f[B]mysql_stmt_init(3)\f[R].
.IP \[bu] 2
\f[C]offset\f[R] \- row offset.
This value must between 0 and number of rows \- 1.
.SS Return value
.PP
Returns void
.SS Notes
.IP \[bu] 2
The number of rows can be obtained with the function
\f[B]mysql_stmt_num_rows(3)\f[R].
.SS See Also
.IP \[bu] 2
\f[B]mysql_stmt_row_tell(3)\f[R]
.IP \[bu] 2
\f[B]mysql_stmt_store_result(3)\f[R]
.IP \[bu] 2
\f[B]mysql_stmt_num_rows(3)\f[R]