How to run SlaveOk in Mongoose?

How to run SlaveOk in Mongoose?

SiteModel.find({}, function(err, docs) { .... } );

SiteModel.slaveOK().find({}, function(err,docs) { ... } );

Model
.where('age').gte(25)
.where('tags').in(['movie', 'music', 'art'])
.select('name', 'age', 'tags')
.skip(20)
.limit(10)
.asc('age')
.slaveOk()
.hint({ age: 1, name: 1 })
.run(callback);

Model.find(conditions).slaveOk().run(callback);


Learn More :