satoshi
0
Q:

pymongo dynamic structure

hostIPAddress = "0.0.0.0.0"
dbName = "testDB"
collectName = "testCollection"

client = pymongo.MongoClient("mongodb://" + hostIPAddress + "/")
target = client[dbName][collectName]
0

New to Communities?

Join the community