Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to specify additional options to tMongoDBConnection like readPreference='secondary'.
Is there a way to pass a Connection String URI like
[mongodb://][user: pass@]host1[: port1][,host2[: port2],...][/database][?options] ?
Thanks,
Juan.
Hello,
Are you getting "not master and slaveOk=false" when executing a replica set with ReadPreference = Secondary? What's Mongo DB version are you using?
Best regards
Sabrina