Input
The following table describes the fields in the Input tab of the InsertDocument activity.
Input Item | Data Type | Description |
---|---|---|
CollectionName | String | Specify the name for the collection, where documents are inserted, with single or double quotation marks.
The value specified in this field overwrites the value specified in the Collection Name field in the General tab. |
Document | String | Enter a document into this field with double quotation marks. This document is inserted into the specified collection. |
ContinueOnError | Boolean | Enter true() into this field if you want the remaining insert operations to continue when an error occurs. Otherwise, leave this field blank. |
IndexDocument | String | Enter a document with double quotation marks to index documents in the specified collection. The index document can be further used in querying documents. For more information on creating an index, refer to http://docs.mongodb.org/manual/administration/indexes-creation/. |
IndexOptionsDocument | String | Enter an index type for the index document with double quotation marks, such as
"{unique:1}". For more information on index options, refer to
http://docs.mongodb.org/manual/core/index-properties/
https://docs.mongodb.com/v3.0/reference/method/db.collection.createIndex/ |
The following fields are displayed when the Is GridFS check box is selected in the General tab. | ||
BucketName | String | Specify the name for the bucket, where files are inserted, with single or double quotation marks. |
GridFSFile | N/A | This node supports duplication. |
FullFileName | String | Enter the absolute path for the file with single or double quotation marks. This file is inserted into the specified bucket. |
NewFileName | String | Enter a new name for the file with single or double quotation marks when you insert it into a bucket. The new file name can be used when you query the file. |
Copyright © Cloud Software Group, Inc. All rights reserved.