mongodb-update-batch
Retrieves the document in the MongoDB collection specified as a key field in the input record and updates the specified field with the value from the input record.
mongodb-update-batch profile=PROFILE [database=DATABASE] collection=COLLECTION keys=KEYS fields=FIELDS [multi=MULTI]
- profile=PROFILE
- Connect profile code of MongoDB.
- database=DATABASE
- Target database name. Applies the default database name specified in the connect profile if not specified.
- collection=COLLECTION
- Target collection name
- keys=KEYS
- Comma separated field names to use for document search. e.g. If keys option is 'guid', find documents by value of guid field.
- fields=FIELDS
- Field names to update. e.g. If fields option is 'last_seen', update value of last_seen field.
- multi=MULTI
- If t, updates all documents that meet the query criteria. If not specified, updates the first document found.
Output Fields
Field | Type | Name | Description |
---|---|---|---|
_error | String | Error | Error message |