Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

use mongo replica set python

pymongo.MongoClient("mongodb://HOST1:PORT1,HOST2:PORT2,.../?replicaset=<<REPLICA_SET_NAME>>")
 
PREVIOUS NEXT
Tagged: #mongo #replica #set #python
ADD COMMENT
Topic
Name
9+7 =