.\" Man page generated from reStructuredText. . .TH "MONGOC_CURSOR_MORE" "3" "Jun 04, 2021" "1.17.6" "libmongoc" .SH NAME mongoc_cursor_more \- mongoc_cursor_more() . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C bool mongoc_cursor_more (mongoc_cursor_t *cursor); .ft P .fi .UNINDENT .UNINDENT .SH PARAMETERS .INDENT 0.0 .IP \(bu 2 \fBcursor\fP: A \fBmongoc_cursor_t\fP\&. .UNINDENT .SH DESCRIPTION .sp This function shall indicate if there is \fIpotentially\fP more data to be read from the cursor. This is only useful with tailable cursors. Use \fBmongoc_cursor_next\fP for regular cursors. .sp Details: \fBmongoc_cursor_more\fP is unreliable because it does not contact the server to see if there are actually more documents in the result set. It simply returns true if the cursor has not begun, or if it has begun and there are buffered documents in the client\-side cursor, or if it has begun and the server has not yet told the cursor it is completely iterated. .sp This is unreliable with regular queries because it returns true for a new cursor before iteration, even if the cursor will match no documents. It is also true if the collection has been dropped on the server since the previous fetch, or if the cursor has finished its final batch and the next batch will be empty. .SH RETURNS .sp true if the cursor has locally\-buffered documents, or if a round\-trip to the server might fetch additional documents. .SH SEE ALSO .sp Tailable Cursor Example .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .