LTRIM
Trim a list to the given range.
LTRIM key start stop
Complexity
O(R) elements removed
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Compatible
Behaves as Redis does.
See also
BLPOPBRPOPBRPOPLPUSHLINDEXLLENLMOVELPOPLPOSLPUSHLRANGELREMLSETRPOPRPOPLPUSHRPUSH