Create a new cursor / iterator over raw batches of BSON data. Should not be called directly by application developers - see :meth:`~pymongo.asynchronous.collection.AsyncCollection.find_raw_batches` instead. .. seealso:: The MongoDB documentation on `cursors <https:/
(
self, collection: AsyncCollection[_DocumentType], *args: Any, **kwargs: Any
)
| 1181 | _getmore_class = _RawBatchGetMore |
| 1182 | |
| 1183 | def __init__( |
| 1184 | self, collection: AsyncCollection[_DocumentType], *args: Any, **kwargs: Any |
| 1185 | ) -> None: |
| 1186 | """Create a new cursor / iterator over raw batches of BSON data. |
| 1187 | |
| 1188 | Should not be called directly by application developers - |
| 1189 | see :meth:`~pymongo.asynchronous.collection.AsyncCollection.find_raw_batches` |
| 1190 | instead. |
| 1191 | |
| 1192 | .. seealso:: The MongoDB documentation on `cursors <https://dochub.mongodb.org/core/cursors>`_. |
| 1193 | """ |
| 1194 | super().__init__(collection, *args, **kwargs) |
| 1195 | |
| 1196 | def _unpack_response( |
| 1197 | self, |