A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pymongo.readthedocs.io/en/4.13.2/api/pymongo/read_concern.html below:

read_concern – Tools for working with read concern.

Back to top

Toggle table of contents sidebar

read_concern – Tools for working with read concern.

Tools for working with read concerns.

See also

This module is compatible with both the synchronous and asynchronous PyMongo APIs.

class pymongo.read_concern.ReadConcern(level=None)
Parameters:

level (Optional[str]) – (string) The read concern level specifies the level of isolation for read operations. For example, a read operation using a read concern level of majority will only return data that has been written to a majority of nodes. If the level is left unspecified, the server default will be used.

Added in version 3.2.

property document: dict[str, Any]

The document representation of this read concern.

property level: str | None

The read concern level.

property ok_for_legacy: bool

Return True if this read concern is compatible with old wire protocol versions.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4