|
| def | __init__ (self, collection, cursor_info, address, retrieved=0, batch_size=0, max_await_time_ms=None, session=None, explicit_session=False) |
| |
| def | __getitem__ (self, index) |
| |
Public Member Functions inherited from CommandCursor |
| def | __del__ (self) |
| |
| def | close (self) |
| |
| def | batch_size (self, batch_size) |
| |
| def | alive (self) |
| |
| def | cursor_id (self) |
| |
| def | address (self) |
| |
| def | session (self) |
| |
| def | __iter__ (self) |
| |
| def | next (self) |
| |
| def | __enter__ (self) |
| |
| def | __exit__ (self, exc_type, exc_val, exc_tb) |
| |
◆ __init__()
| def __init__ |
( |
|
self, |
|
|
|
collection, |
|
|
|
cursor_info, |
|
|
|
address, |
|
|
|
retrieved = 0, |
|
|
|
batch_size = 0, |
|
|
|
max_await_time_ms = None, |
|
|
|
session = None, |
|
|
|
explicit_session = False |
|
) |
| |
Create a new cursor / iterator over raw batches of BSON data.
Should not be called directly by application developers -
see :meth:`~pymongo.collection.Collection.aggregate_raw_batches`
instead.
.. mongodoc:: cursors
Reimplemented from CommandCursor.
◆ __getitem__()
| def __getitem__ |
( |
|
self, |
|
|
|
index |
|
) |
| |
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pymongo/command_cursor.py