是否可以设置mongodb的查询查secondary? #2817
Unanswered
pirate4444
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前我们使用的版本是1.8.5,想限制查询mongodb时,是查secondary,而不是查primary。但是找不到在哪里进行相关的设置(readPreference: 'secondary')。是否支持查secondary?
Beta Was this translation helpful? Give feedback.
All reactions