MongoDB作家参数
数据库连接
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数必须包含目标MongoDB服务器的主机名或IP地址。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数确定用于连接到目标MongoDB服务器的TCP端口。如果留空,将使用默认值。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数可用于指定包含要写入的目标集合的数据库。
- 如果给出了一个有效的数据库名,那么集合将只写入该数据库。目标特性类型的名称将是目标MongoDB集合的名称。
- 如果没有给出数据库名,则可以将集合写入目标MongoDB服务器上的任何数据库。在这种情况下,目标功能类型名称必须采用以下形式:< database_name >。< collection_name >。
身份验证
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数可用于指定用于在目标MongoDB服务器上进行身份验证的用户名。如果留空,将不尝试任何身份验证。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数可用于指定用于在目标MongoDB服务器上进行身份验证的密码。只有在指定用户名时才应该指定密码。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数可用于指定用于在目标MongoDB服务器上进行身份验证的数据库名称。身份验证数据库是包含在Username参数中指定的用户的数据库。
如果留空,则数据库名称将使用参数。
先进的
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
该参数控制是否应该批量编写特性。
如果是,那么将在同一个请求中编写多个特性,否则一次只编写一个特性。