|
def | __init__ (self, flags, db, coll, ntoskip, spec, fields, codec_options, read_preference, limit, batch_size, read_concern, collation, session, client, allow_disk_use) |
|
def | namespace (self) |
|
def | use_command (self, sock_info, exhaust) |
|
def | as_command (self, sock_info) |
|
def | get_message (self, set_slave_ok, sock_info, use_cmd=False) |
|
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
flags, |
|
|
|
db, |
|
|
|
coll, |
|
|
|
ntoskip, |
|
|
|
spec, |
|
|
|
fields, |
|
|
|
codec_options, |
|
|
|
read_preference, |
|
|
|
limit, |
|
|
|
batch_size, |
|
|
|
read_concern, |
|
|
|
collation, |
|
|
|
session, |
|
|
|
client, |
|
|
|
allow_disk_use |
|
) |
| |
◆ as_command()
def as_command |
( |
|
self, |
|
|
|
sock_info |
|
) |
| |
Return a find command document for this query.
◆ get_message()
def get_message |
( |
|
self, |
|
|
|
set_slave_ok, |
|
|
|
sock_info, |
|
|
|
use_cmd = False |
|
) |
| |
Get a query message, possibly setting the slaveOk bit.
Reimplemented in _RawBatchQuery.
◆ namespace()
◆ use_command()
def use_command |
( |
|
self, |
|
|
|
sock_info, |
|
|
|
exhaust |
|
) |
| |
◆ allow_disk_use
◆ batch_size
◆ client
◆ codec_options
◆ coll
◆ collation
◆ cursor_id
◆ db
◆ exhaust_mgr
◆ fields
◆ flags
◆ limit
◆ name
◆ ntoskip
◆ read_concern
◆ read_preference
◆ session
◆ spec
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pymongo/message.py