ReadIntegrity

class ReadIntegrity

The ReadIntegrity class represents a document-level lock setting for a read/replace request. The class may be used in the __init__() method as an argument to specify the level and duration of lock sharing depending on the recoverability of the database

NRI

Indicates No Read Integrity (NRI) for the connection. Returns the latest version of the document at the time of the read request

Type:

int

CR

Indicates Consistent Read (CR) for the connection. Obtains a shared lock for the duration of the read request.

Type:

int

CRE

Indicates Consistent Read Extended (CRE) for the connection. Obtains a shared lock for the entire duration of the transaction

Type:

int

__new__(value)