Nodejs driver 5.9 - connection string: serverSelectionTryOnce - is it supported?

According to documentation, connection string - serverSelectionTryOnce - seems supported in nodejs driver 5.9

However, when I installed and look into MongoClientOptions type definition, it is not included

Is documentation wrong about this? or type defintion is missing this option serverSelectionTryOnce ?

From our connection string documentation regarding serverSelectionTryOnce, this option is only present in single-threaded drivers (ex: PHP), which the Node.js driver is not.

Thank you for the answer!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.