slaveOk property

bool slaveOk

Indicates that this readPreference needs the "slaveOk" bit when sent over the wire @method @return {boolean} @see https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#op-query

Implementation

bool get slaveOk => needSlaveOk.contains(mode);