redis_ttl
Retrieve the remaining time to live of a Redis key, or -1 if it never expires.
Instructions
Get the remaining time to live (in seconds) of a Redis key, or -1 if it has none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| connectionId | No | Id of the redis connection to use, from databases.config.yml. Optional when only one redis connection is configured. |