readOnly property
A boolean value that, when true, indicates that the mongod or mongos is running in read-only mode.
Implementation
bool readOnly;
A boolean value that, when true, indicates that the mongod or mongos is running in read-only mode.
bool readOnly;