RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • Quick Start

  • Rule Chain

  • Standard Components

  • Extension Components

    • Extension Components Overview
    • filter

    • transform

    • external

      • redisClient
      • kafkaProducer
      • natsClient
      • rabbitmqClient
      • opengeminiWrite
      • opengeminiQuery
      • MongoDB Client
        • Configuration
        • Relation Type
        • Execution Result
      • Redis Publisher
      • grpcClient
      • OpenTelemetry
      • BeanstalkdWorker
      • BeanstalkdTube
      • WukongimSender
    • ai

    • ci

    • IoT

  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

目录

MongoDB Client

x/mongodbClient component: v0.26.0+ MongoDB client. It can perform CRUD operations on MongoDB.

# Configuration

This component allows the reuse of shared connection clients through the server field. See Component Connection Reuse.

Field Type Description Default
server string Database service address, example: mongodb://localhost:27017 None
database string Database, can use component configuration variables None
collection string Collection name, can use component configuration variables None
opType string Operation type INSERT, UPDATE, DELETE, QUERY QUERY
filter string Filter conditions. Example: {"age": {"$gte": 18}}. Can use Expr None
doc string Update/insert document. Example: {"name": "test", "age": 18}. Can use Expr None
one bool Whether to operate on only one piece of data None

# Relation Type

  • Success: Execution is successful, and the message is sent to the Success chain.
  • Failure: Execution fails, and the message is sent to the Failure chain.

# Execution Result

The query result is assigned to the message payload and passed to the next node.

Edit this page on GitHub (opens new window)
Last Updated: 2025/04/02, 01:29:50
opengeminiQuery
Redis Publisher

← opengeminiQuery Redis Publisher→

Theme by Vdoing | Copyright © 2023-2025 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式