GETEXRead a key and set its expiry in the same call.
| Syntax | GETEX key [EX seconds | PX milliseconds] |
| Group | string |
| Arity | -2 |
| Since | 1.0.0 |
| Flags | write |
| Complexity | O(1) |
| Redis compatibility | differs: EXAT / PXAT / PERSIST are not accepted, and an expiry of zero or less is refused rather than applied |