Created
October 7, 2022 14:50
-
-
Save kevcodez/b3192615516e76fc18f1c180d98fc782 to your computer and use it in GitHub Desktop.
medium_mongodb_performance_read_pref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.assets | |
.find({ ipoDate: { $gt: ISODate('2022-01-01') } }) | |
.readPref('secondaryPreferred') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment