Skip to main content
Server path: /mongodb | Type: Application | PCID required: Yes

Tools


mongodb_aggregate

Execute an aggregation pipeline on a MongoDB collection. Supports read-only stages such as match,match, group, sort,sort, project, lookup,lookup, unwind, limit,andlimit, and skip. Note: outandout and merge stages write data to collections and should be used with caution. Parameters:

mongodb_count_documents

Count the number of documents in a MongoDB collection matching the given filter. Parameters:

mongodb_delete_many

Delete all documents in a MongoDB collection that match the filter. Parameters:

mongodb_delete_one

Delete the first document in a MongoDB collection that matches the filter. Parameters:

mongodb_describe_collection

Infer the schema of a MongoDB collection by sampling documents. Returns field names and their detected BSON types. Parameters:

mongodb_find

Find multiple documents in a MongoDB collection matching the given filter. Returns an array of documents. Parameters:

mongodb_find_one

Find a single document in a MongoDB collection matching the given filter. Returns the first matched document or null. Parameters:

mongodb_get_info

Get information about the connected MongoDB database.

mongodb_insert_many

Insert multiple documents into a MongoDB collection in a single operation. Parameters:

mongodb_insert_one

Insert a single document into a MongoDB collection. Parameters:

mongodb_list_collections

List all collections in the connected MongoDB database.

mongodb_update_many

Update all documents in a MongoDB collection that match the filter. Use MongoDB update operators like set,set, unset, inc,inc, push. Parameters:

mongodb_update_one

Update the first document in a MongoDB collection that matches the filter. Use MongoDB update operators like set,set, unset, inc,inc, push. Parameters: