Redis键管理TTLOn this pageTTLNoteOfficial reference: TTL. Read the remaining key lifetime in seconds. Syntax TTL key -1 means no expiration; -2 means the key is missing. Results ReturnRowsContentResultSet1RESULT field, LONG type Example SET demo:message hello EX 60TTL demo:message