API
Redis TTL
Reports remaining seconds or a missing/no-expiry sentinel.
Formal Syntax & Structure
csharp syntaxcsharp
TTL lab:tenant-a:book:1Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.TTL lab:tenant-a:book:1