Expected behaviour
It would be great to support xtrim by minimum id.
https://redis.io/commands/xtrim describes:
XTRIM mystream MAXLEN 1000
and
XTRIM mystream MINID 649085820
Actual behaviour
From the readme I get:
/* Trim to exactly 100 messages */
$obj_redis->xTrim('mystream', 100);
/* Let Redis approximate the trimming */
$obj_redis->xTrim('mystream', 100, true);
But I could not find an option to trim by minimum id.
Expected behaviour
It would be great to support xtrim by minimum id.
https://redis.io/commands/xtrim describes:
Actual behaviour
From the readme I get:
But I could not find an option to trim by minimum id.