HRANDFIELDReturn random fields from a hash; a negative count allows repeats, WITHVALUES pairs each with its value.
| 構文 | HRANDFIELD key [count [WITHVALUES]] |
| グループ | hash |
| 引数の数 | -2 |
| 導入バージョン | 6.2.0 |
| フラグ | readonly |
| 計算量 | O(count) for the positive form (partial Fisher-Yates over a materialised field list), O(|count|) for the negative form |
| Redis 互換性 | full |