Please use srv type connection string. It will always connect you to the Primary node
of the Atlas replica set.
You can get the srv
connection string for your cluster from your Atlas account.
~ Shubham
Please use srv type connection string. It will always connect you to the Primary node
of the Atlas replica set.
You can get the srv
connection string for your cluster from your Atlas account.
~ Shubham