XTRIMTrim a stream by length or minimum ID.
| 構文 | XTRIM key MAXLEN|MINID [=|~] threshold |
| グループ | stream |
| 引数の数 | -4 |
| 導入バージョン | 1.0.0 |
| フラグ | write |
| 計算量 | O(R log N + N*F) for R evicted entries |
| Redis 互換性 | differs: '~' is accepted but trimming is always exact, LIMIT is not parsed, and trailing tokens after the threshold are silently ignored instead of erroring |