Returns an explain plan record for this cursor. .. seealso:: The MongoDB documentation on `explain `_.
(self)
| 1209 | return cast(List["_DocumentOut"], raw_response) |
| 1210 | |
| 1211 | async def explain(self) -> _DocumentType: |
| 1212 | """Returns an explain plan record for this cursor. |
| 1213 | |
| 1214 | .. seealso:: The MongoDB documentation on `explain <https://dochub.mongodb.org/core/explain>`_. |
| 1215 | """ |
| 1216 | clone = self._clone(deepcopy=True, base=AsyncCursor(self.collection)) |
| 1217 | return await clone.explain() |
| 1218 | |
| 1219 | def __getitem__(self, index: Any) -> NoReturn: |
| 1220 | raise InvalidOperation("Cannot call __getitem__ on AsyncRawBatchCursor") |
nothing calls this directly
no test coverage detected