Struktur dinamis Pymongo

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

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