MongoDB
Find
Slug of MongoDB resource to use. See Resources
The MongoDB collection
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
How many results to skip.
How many results to reurn.
A list of MongoDB documents
jsonCopied1[{ "_id": "62c4caa466499db2981e496e", "fruit": "apple" }]
Slug of MongoDB resource to use. See Resources
The MongoDB collection
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
How many results to reurn.
How many results to skip.
A list of MongoDB documents
jsonCopied1[{ "_id": "62c4caa466499db2981e496e", "fruit": "apple" }]
If the find builtin cannot be executed properly
If the run fails or is cancelled.
FindOne
Slug of MongoDB resource to use. See Resources
The MongoDB collection
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
A MongoDB document. Empty if there were no results.
jsonCopied1{ "_id": "62c4caa466499db2981e496e", "fruit": "apple" }
Slug of MongoDB resource to use. See Resources
The MongoDB collection
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
A MongoDB document. Empty if there were no results.
jsonCopied1[{ "_id": "62c4caa466499db2981e496e", "fruit": "apple" }]
If the find builtin cannot be executed properly
If the run fails or is cancelled.
UpdateOne
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specifies whether to create a new document if one does not exist.
The number of documents matching the filter.
The number of documents modified.
The number of documents upserted. 0
if upsert
is false
.
The _id
for the upserted document. null
if upsert
is false
.
jsonCopied1{2"MatchedCount": 1,3"ModifiedCount": 1,4"UpsertedCount": 0,5"UpsertedID": null6}
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specifies whether to create a new document if one does not exist.
The number of documents matching the filter.
The number of documents modified.
The number of documents upserted. 0
if upsert
is false
.
The _id
for the upserted document. null
if upsert
is false
.
jsonCopied1{2"MatchedCount": 1,3"ModifiedCount": 1,4"UpsertedCount": 0,5"UpsertedID": null6}
If the builtin cannot be executed properly
If the run fails or is cancelled.
UpdateMany
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specifies whether to create a new document if one does not exist.
The number of documents matching the filter.
The number of documents modified.
The number of documents upserted. 0
if upsert
is false
.
The _id
for the upserted document. null
if upsert
is false
.
jsonCopied1{2"MatchedCount": 2,3"ModifiedCount": 2,4"UpsertedCount": 0,5"UpsertedID": null6}
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specifies whether to create a new document if one does not exist.
The number of documents matching the filter.
The number of documents modified.
The number of documents upserted. 0
if upsert
is false
.
The _id
for the upserted document. null
if upsert
is false
.
jsonCopied1{2"MatchedCount": 2,3"ModifiedCount": 2,4"UpsertedCount": 0,5"UpsertedID": null6}
If the builtin cannot be executed properly
If the run fails or is cancelled.
FindOneAndUpdate
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
Returns the original document.
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
Returns the original document.
If the builtin cannot be executed properly
If the run fails or is cancelled.
FindOneAndReplace
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
Returns the original document.
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to update.
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
Returns the original document.
If the builtin cannot be executed properly
If the run fails or is cancelled.
InsertOne
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The document to insert.
The _id
of the inserted document.
jsonCopied1{2"InsertedID": "62c4caa466499db2981e496e"3}
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The document to insert.
The _id
of the inserted document.
jsonCopied1{2"InsertedID": "62c4caa466499db2981e496e"3}
If the builtin cannot be executed properly
If the run fails or is cancelled.
InsertMany
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to insert.
An array containing _id
values for each inserted document
jsonCopied1{2"InsertedIDs": ["63250df2b895dfd52a6420c3", "63250df2b895dfd52a6420c4"]3}
Slug of MongoDB resource to use. See Resources
The MongoDB collection
The documents to insert.
A list containing _id
values for each inserted document
jsonCopied1{2"InsertedIDs": ["63250df2b895dfd52a6420c3", "63250df2b895dfd52a6420c4"]3}
If the builtin cannot be executed properly
If the run fails or is cancelled.
FindOneAndDelete
Slug of MongoDB resource to use. See Resources
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
Returns the original document.
Slug of MongoDB resource to use. See Resources
The MongoDB collection
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
Returns the deleted document.
If the builtin cannot be executed properly
If the run fails or is cancelled.
DeleteOne
Slug of MongoDB resource to use. See Resources
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
The number of deleted documents.
Slug of MongoDB resource to use. See Resources
The MongoDB collection.
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
The number of deleted documents.
If the builtin cannot be executed properly
If the run fails or is cancelled.
DeleteMany
Slug of MongoDB resource to use. See Resources
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
The number of deleted documents.
jsonCopied1{2"DeletedCount": 43}
Slug of MongoDB resource to use. See Resources
The MongoDB collection.
Optional filter criteria. Returns all documents if filter
is not provided.
Specify which fields to return in the results.
Specify the sort order of results.
Output
Field | Type | Description |
---|---|---|
output["DeletedCount"] | float | The number of deleted documents. |
The number of deleted documents.
jsonCopied1{2"DeletedCount": 43}
If the builtin cannot be executed properly
If the run fails or is cancelled.
Aggregate
Slug of MongoDB resource to use. See Resources
The MongoDB collection.
See aggregation-pipeline.
A list of documents produced by the final stage of the aggregation pipeline operation.
Slug of MongoDB resource to use. See Resources
The MongoDB collection.
See aggregation-pipeline.
A list of documents produced by the final stage of the aggregation pipeline operation.
If the builtin cannot be executed properly
If the run fails or is cancelled.
CountDocuments
Slug of MongoDB resource to use. See Resources
The MongoDB collection.
Criteria to filter by.
The count of documents that match the query.
Slug of MongoDB resource to use. See Resources
The MongoDB collection.
Criteria to filter by.
The count of documents that match the query.
If the builtin cannot be executed properly
If the run fails or is cancelled.
Distinct
Slug of MongoDB resource to use. See Resources
The field to count.
The MongoDB collection.
Criteria to filter by.
A list of distinct values for a specified field across the searched collection or view.
Slug of MongoDB resource to use. See Resources
The field to count.
The MongoDB collection.
Criteria to filter by.
A list of distinct values for a specified field across the searched collection or view.
If the builtin cannot be executed properly
If the run fails or is cancelled.