OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, codec_options, read_preference, write_concern, read_concern) |
def | codec_options (self) |
def | write_concern (self) |
def | read_preference (self) |
def | read_concern (self) |
A base class that provides attributes and methods common to multiple pymongo classes. SHOULD NOT BE USED BY DEVELOPERS EXTERNAL TO MONGODB.
def __init__ | ( | self, | |
codec_options, | |||
read_preference, | |||
write_concern, | |||
read_concern | |||
) |
def codec_options | ( | self | ) |
Read only access to the :class:`~bson.codec_options.CodecOptions` of this instance.
def read_concern | ( | self | ) |
Read only access to the :class:`~pymongo.read_concern.ReadConcern` of this instance. .. versionadded:: 3.2
def read_preference | ( | self | ) |
Read only access to the read preference of this instance. .. versionchanged:: 3.0 The :attr:`read_preference` attribute is now read only.
def write_concern | ( | self | ) |
Read only access to the :class:`~pymongo.write_concern.WriteConcern` of this instance. .. versionchanged:: 3.0 The :attr:`write_concern` attribute is now read only.