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
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:
|
| 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. |