|
def | __init__ (self, data, address, socket_info, pool, request_id, duration, from_command, docs) |
|
def | socket_info (self) |
|
def | pool (self) |
|
def | __init__ (self, data, address, request_id, duration, from_command, docs) |
|
def | data (self) |
|
def | address (self) |
|
def | request_id (self) |
|
def | duration (self) |
|
def | from_command (self) |
|
def | docs (self) |
|
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
data, |
|
|
|
address, |
|
|
|
socket_info, |
|
|
|
pool, |
|
|
|
request_id, |
|
|
|
duration, |
|
|
|
from_command, |
|
|
|
docs |
|
) |
| |
Represent a response to an exhaust cursor's initial query.
:Parameters:
- `data`: A network response message.
- `address`: (host, port) of the source server.
- `socket_info`: The SocketInfo used for the initial query.
- `pool`: The Pool from which the SocketInfo came.
- `request_id`: The request id of this operation.
- `duration`: The duration of the operation.
- `from_command`: If the response is the result of a db command.
◆ pool()
The Pool from which the SocketInfo came.
◆ socket_info()
The SocketInfo used for the initial query.
The server will send batches on this socket, without waiting for
getMores from the client, until the result set is exhausted or there
is an error.
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pymongo/response.py