For the complete documentation index, see llms.txt. This page is also available as Markdown.

Insert

MongoDB insert operation.

Task version: 1.0.1

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

InputType : InputType

Input type.

InputType.Document: A single JSON string to be processed.

InputType.Documents: JSON string(s) to be processed.

InputType.File: File containing data in JSON format.

Possible values:

  • File: Input type.

InputType.Document: A single JSON string to be processed.

InputType.Documents: JSON string(s) to be processed.

InputType.File: File containing data in JSON format.

  • Document: Input type.

InputType.Document: A single JSON string to be processed.

InputType.Documents: JSON string(s) to be processed.

InputType.File: File containing data in JSON format.

  • Documents: Input type.

InputType.Document: A single JSON string to be processed.

InputType.Documents: JSON string(s) to be processed.

InputType.File: File containing data in JSON format.

Default: 1 Example: InputType.Document

Document : String

A single JSON string to be processed.

Default: - Example: {"foo": "bar", "bar": "foo"}

Documents : DocumentValues[]

JSON string(s) to be processed.

Default: - Example: {{"foo": "bar", "bar": "foo"}, {"foo": "bar", "bar": "foo"}}

File : String

File containing data in JSON format.

Default: - Example: c:\temp\file.json

Name
Description

🗝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

Task Result

Name
Description

Success : Boolean

Document(s) added. Example: true

Id : List<String>

List of ID(s) of the added document(s). Example: 6357ae6e8b77e824c8381113

Task Changelog

Changelog for Task Frends.MongoDB.Insert.

[1.0.1] - 2023-11-22

Fixed

  • Fixed dll error when importing the Task to Frends by adding local dll reference to the project file.

[1.0.0] - 2022-10-26

Added

  • Initial implementation

Last updated

Was this helpful?