Wrapper for mongoc_cursor_next().

This function shall iterate the underlying cursor, setting current to the next document.

This function is a blocking function.

Property definitions

mongodb $ NativeMongoCursor :: next
	# Wrapper for `mongoc_cursor_next()`.
	#
	# This function shall iterate the underlying cursor, setting `current` to the next
	# document.
	#
	# This function is a blocking function.
	fun next: Bool `{
		const bson_t *doc;
		return mongoc_cursor_next(self, &doc);
	`}
lib/mongodb/native_mongodb.nit:545,2--554,3