kevy

XTRIM

Trim 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

← すべてのコマンド