Skip to content

MongoDB 节点#

¥MongoDB node

使用 MongoDB 节点实现 MongoDB 中的自动化操作,并将 MongoDB 与其他应用集成。n8n 内置支持多种 MongoDB 功能,包括聚合、更新、查找、删除和获取文档,以及创建、更新、列出和删除搜索索引。此节点中的所有操作均使用 MongoDB Node 驱动程序

¥Use the MongoDB node to automate work in MongoDB, and integrate MongoDB with other applications. n8n has built-in support for a wide range of MongoDB features, including aggregating, updating, finding, deleting, and getting documents as well as creating, updating, listing, and dropping search indexes. All operations in this Node make use of the MongoDB Node driver.

本页列出了 MongoDB 节点支持的操作列表以及更多资源的链接。

¥On this page, you'll find a list of operations the MongoDB node supports and links to more resources.

Credentials

请参阅 MongoDB 凭证 以了解有关设置身份验证的指导。

¥Refer to MongoDB credentials for guidance on setting up authentication.

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

操作#

¥Operations

  • 文档

¥Document

  • 聚合文档

    ¥Aggregate documents

  • 删除文档。

    ¥Delete documents

  • 查找文档

    ¥Find documents

  • 查找并替换文档

    ¥Find and replace documents

  • 查找并更新文档

    ¥Find and update documents

  • 插入文档

    ¥Insert documents

  • 更新文档

    ¥Update documents

  • 搜索索引

¥Search Index

  • 创建搜索索引

    ¥Create search indexes

  • 删除搜索索引

    ¥Drop search indexes

  • 列表搜索索引

    ¥List search indexes

  • 更新搜索索引

    ¥Update search indexes

模板和示例#

¥Templates and examples

Template widget placeholder.