Created
October 7, 2022 15:04
-
-
Save kevcodez/e449cbe60036b18a577ec459f9160524 to your computer and use it in GitHub Desktop.
medium_mongodb_performance_client_options
This file contains 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
const client = await MongoClient.connect('mongo-url', { | |
// perf optimization - https://github.com/mongodb/node-mongodb-native/releases/tag/v4.3.0 | |
enableUtf8Validation: false, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment