Get a clone of this cursor. Returns a new Cursor instance with options matching those that have been set on the current instance. The clone will be completely unevaluated, even if the current instance has been partially or completely evaluated.
(self)
| 249 | return f"{self._dbname}.{self._collname}" |
| 250 | |
| 251 | def clone(self) -> Cursor[_DocumentType]: |
| 252 | """Get a clone of this cursor. |
| 253 | |
| 254 | Returns a new Cursor instance with options matching those that have |
| 255 | been set on the current instance. The clone will be completely |
| 256 | unevaluated, even if the current instance has been partially or |
| 257 | completely evaluated. |
| 258 | """ |
| 259 | return self._clone(True) |
| 260 | |
| 261 | def _clone(self, deepcopy: bool = True, base: Optional[Cursor] = None) -> Cursor: # type: ignore[type-arg] |
| 262 | """Internal clone helper.""" |