【发布时间】:2018-10-05 09:12:08
【问题描述】:
users path common config
exchange_rate
prod_data
delivery_fee
site shoppingmall settings description
highlight
prohibit_words
我做了以下但失败了。
db = MongoClient("localhost:99999").users
config_data = get_config() --> just get config_data (json)
db.path.common.config.insert(config_data)
我希望为每位客户都采用这种方式。 我该怎么办? (我喜欢例子,因为我是初学者......(T.T)) 谢谢!!
【问题讨论】:
标签: python pymongo pymongo-3.x