◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
username, |
|
|
|
password, |
|
|
|
database, |
|
|
|
options |
|
) |
| |
◆ auto_encryption_opts()
def auto_encryption_opts |
( |
|
self | ) |
|
A :class:`~pymongo.encryption.AutoEncryptionOpts` or None.
◆ codec_options()
def codec_options |
( |
|
self | ) |
|
A :class:`~bson.codec_options.CodecOptions` instance.
◆ connect()
Whether to begin discovering a MongoDB topology automatically.
◆ credentials()
A :class:`~pymongo.auth.MongoCredentials` instance or None.
◆ direct_connection()
def direct_connection |
( |
|
self | ) |
|
Whether to connect to the deployment in 'Single' topology.
◆ heartbeat_frequency()
def heartbeat_frequency |
( |
|
self | ) |
|
The monitoring frequency in seconds.
◆ local_threshold_ms()
def local_threshold_ms |
( |
|
self | ) |
|
The local threshold for this instance.
◆ pool_options()
A :class:`~pymongo.pool.PoolOptions` instance.
◆ read_concern()
A :class:`~pymongo.read_concern.ReadConcern` instance.
◆ read_preference()
def read_preference |
( |
|
self | ) |
|
A read preference instance.
◆ replica_set_name()
def replica_set_name |
( |
|
self | ) |
|
Replica set name or None.
◆ retry_reads()
If this instance should retry supported read operations.
◆ retry_writes()
If this instance should retry supported write operations.
◆ server_selection_timeout()
def server_selection_timeout |
( |
|
self | ) |
|
The server selection timeout for this instance in seconds.
◆ server_selector()
def server_selector |
( |
|
self | ) |
|
◆ write_concern()
def write_concern |
( |
|
self | ) |
|
A :class:`~pymongo.write_concern.WriteConcern` instance.
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pymongo/client_options.py