Hi all,
I’m working on a YouTube series for advanced Wappler workflows, as announced here: https://community.wappler.io/t/youtube-channel-for-advanced-wappler-workflows-extensions
I’m planning to release a couple of extensions alongside the videos. I’m a huge Redis fan, so one of them is a suite of Redis actions. I have already implemented the following:
And I’m planning to add a few more functions:
-
Get all keys in a Redis database: This function can retrieve all the keys in a specific Redis database. The user can provide the database number as an input.
-
Get all key-value pairs in a Redis database: This function can retrieve all the key-value pairs in a specific Redis database. The user can provide the database number as an input.
-
Expire a key in Redis: This function can set an expiration time for a specific key in Redis. The user can provide the key, the expiration time (in seconds), and the database number as inputs.
-
Rename a key in Redis: This function can be used to rename a key in Redis. The user can provide the old key name, the new key name, and the database number as inputs.
-
Check if a key exists in Redis: This function can be used to check if a specific key exists in Redis. The user can provide the key and the database number as inputs.
The Redis connection can be defined in server connect or in your ENV.
Please let me know if there are any other Redis features you would like to see in this extension.