如何通过在其中传递变量来创建mongo数据库

时间:2018-12-04 07:26:45

标签: database python-3.x mongodb mongodb-query

我不知道如何使用python在mongodb中传递变量并创建数据库。

[!] Unable to find host target(s) for ReadLaterExtension. Please add the host targets for the embedded targets to the Podfile.
Certain kinds of targets require a host target. A host target is a "parent" target which embeds a "child" target. These are example types of targets that need a host target:

- Framework
- App Extension
- Watch OS 1 Extension
- Messages Extension (except when used with a Messages Application)

我尝试了这个,但我却说错了

  

pymongo.errors.InvalidName:数据库名称不能包含字符“。”

该如何解决?

0 个答案:

没有答案