Update
MongoDB update operation.
Last updated
Was this helpful?
MongoDB update operation.
Task version: 1.0.1
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.MongoDB
UpdateOptions : UpdateOptions
Update single or multiple documents.
Possible values:
UpdateOne: Update single or multiple documents.
UpdateMany: Update single or multiple documents.
Default: 0
Example: UpdateOptions.UpdateOne
UpdateString : String
The value(s) to be updated to document(s).
Default: -
Example: "{ $set: { 'foo': 'updated'} }"
InputType : InputType
Input type.
Possible values:
Filter: Input type.
Filters: Input type.
File: Input type.
Default: 0
Example: InputType.Filter
Filter : String
A single filter to be processed.
Default: -
Example: {'foo':'bar'}
Filters : DocumentValues[]
An array of filter(s) to be processed one by one.
Default: -
Example: {{'foo':'bar'}, {'bar':'foo'}}
File : String
The file containing filter.
Default: -
Example: c:\temp\file.json
🗝ConnectionString : String
Connection string.
Default: -
Example: mongodb://foo:bar@localhost:00000/?authSource=admin
Database : String
Database.
Default: -
Example: foo
CollectionName : String
Collection name.
Default: -
Example: bar
Success : Boolean
Update complete.
Example: true
Count : Int64
Count of updated documents.
Example: 1
Changelog for Task Frends.MongoDB.Update.
Fixed dll error when importing the Task to Frends by adding local dll reference to the project file.
Initial implementation
Last updated
Was this helpful?
Was this helpful?

