Redis 节点#
¥Redis node
使用 Redis 节点自动化 Redis 中的工作,并将 Redis 与其他应用集成。n8n 内置支持多种 Redis 功能,包括删除键、获取键值、设置键值以及向 Redis 通道发布消息。
¥Use the Redis node to automate work in Redis, and integrate Redis with other applications. n8n has built-in support for a wide range of Redis features, including deleting keys, getting key values, setting key value, and publishing messages to the Redis channel.
本页列出了 Redis 节点支持的操作列表以及更多资源的链接。
¥On this page, you'll find a list of operations the Redis node supports and links to more resources.
Credentials
请参阅 Redis 凭据 以了解有关设置身份验证的指导。
¥Refer to Redis 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
- 从 Redis 中删除键。
¥Delete a key from Redis.
- 从 Redis 获取某个键的值。
¥Get the value of a key from Redis.
- 返回 Redis 实例的通用信息。
¥Returns generic information about the Redis instance.
- 将键原子地递增 1。如果密钥不存在,则创建密钥。
¥Atomically increments a key by 1. Creates the key if it doesn't exist.
- 返回所有匹配指定模式的键。
¥Returns all the keys matching a pattern.
- 设置 Redis 中某个键的值。
¥Set the value of a key in Redis.
- 向 Redis 通道发布消息。
¥Publish message to Redis channel.
模板和示例#
¥Templates and examples