MongoDB

Frends.MongoDB.Insert / 1.0.1

Summary

Inserts one document or many into a collection, taking them from the Process or from a file.

Typical use — landing event or document data where the shape varies too much for a fixed schema

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

InputType options.

Name Type Default Example Description
InputType InputType Document InputType.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.

Possible values:

  • File: File containing data in JSON format.

  • Document: A single JSON string to be processed.

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

Document String {"foo": "bar", "bar": "foo"}

A single JSON string to be processed.

Documents DocumentValues[] {{"foo": "bar", "bar": "foo"}, {"foo": "bar", "bar": "foo"}}

JSON string(s) to be processed.

File String c:\temp\file.json

File containing data in JSON format.

An unhandled error has occurred. Reload 🗙