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