MongoDB
App Overview
MongoDB is a source-available, cross-platform, document-oriented database program. Classified as a NoSQL database product, MongoDB utilizes JSON-like documents with optional schemas.
Getting Started: Installations
Name | Type | Description | Exemple | Hidden |
---|---|---|---|---|
connectionUri | string | URI that allows to connect to the database | true |
App Items
Events
Technical Actions
Update Document(s)
Update mongodb document
Inputs
Name | Type | Description | Exemple | Required |
---|---|---|---|---|
collection | string | The name of the collection in which to update the document(s) | collection-name | true |
filter | string | The filter to apply to the collection (e.g. {"field": "value"}) | true | |
update | string | The update to apply to the collection (e.g. {"$set": {"field": "value"}, "$inc": {"field": 1}}) | true | |
options | object | false |
Outputs
Name | Type | Description | Exemple |
---|---|---|---|
updatedCount | number | 1 | |
upsertedCount | number | 1 |
Find Documents
Find mongodb documents
Inputs
Name | Type | Description | Exemple | Required |
---|---|---|---|---|
collection | string | The name of the collection in which to find the documents | collection-name | true |
query | string | The query to find the documents (e.g. {"field": "value"}) | true | |
extractInFile | boolean | If true, the results are saved in a file. Necessary for large results | false | |
useAdvancedConfiguration | boolean | Enable advanced configuration options | false | |
advancedConfiguration | object | false |
Outputs
Name | Type | Description | Exemple |
---|---|---|---|
documentsCount | number | 1 | |
documents | array | ||
file | string |
Delete Documents
Delete mongodb documents
Inputs
Name | Type | Description | Exemple | Required |
---|---|---|---|---|
collection | string | The name of the collection in which to delete the documents | collection-name | true |
filter | string | The filter to apply to the delete operation (e.g. {"field": "value"}) | true |
Outputs
Name | Type | Description | Exemple |
---|---|---|---|
deletedCount | number | 1 |
Insert Document
Insert mongodb document
Inputs
Name | Type | Description | Exemple | Required |
---|---|---|---|---|
collection | string | The name of the collection in which to insert the document | collection-name | true |
document | string | The document to insert (e.g. {"field": "value"}) | true |
Version(s)
1.0.0 