EXPIRESet a key's TTL in seconds (non-positive TTL deletes the key).
| 構文 | EXPIRE key seconds |
| グループ | generic |
| 引数の数 | 3 |
| 導入バージョン | 1.0.0 |
| フラグ | write |
| 計算量 | O(1) |
| Redis 互換性 | differs: the NX / XX / GT / LT condition flags are not parsed — arity is fixed at 3, so EXPIRE key seconds NX is a wrong-arity error |