Redis Pro icon

Redis Pro

Get, send and update data in Redis with enhanced features

Overview

This node performs a Delete operation on a Redis database. It deletes a specified key from Redis, which is useful for managing and cleaning up data stored in Redis. For example, it can be used to remove outdated cache entries or obsolete data keys to maintain efficient data storage.

Use Case Examples

  1. Deleting a cache key after the cached data is no longer valid.
  2. Removing a user session key when the user logs out.

Properties

Name Meaning
Connection Mode How to manage Redis connections, either by reusing connections across executions for better performance (pooled) or creating a new connection for each execution (direct).
Key The name of the key to delete from Redis, required for the delete operation.

Output

JSON

  • json - The output JSON contains the original input data for the deleted key, confirming the deletion.

Dependencies

  • Requires a Redis connection credential to authenticate and connect to the Redis instance.

Troubleshooting

  • Connection issues: If the node fails to establish a Redis connection, verify the Redis credentials and network accessibility.
  • Key not found: Deleting a non-existent key will not throw an error but will have no effect.
  • Error handling: If an error occurs during deletion and 'Continue On Fail' is not enabled, the node will throw an error and stop execution. Enable 'Continue On Fail' to handle errors gracefully.

Discussion