Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional arguments for XADD from Redis 6.2.0 missed by #1894 #2393

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

cjavad
Copy link

@cjavad cjavad commented Sep 24, 2023

The redis XADD command as specified by https://redis.io/commands/xadd/ supports additional parameters that allows for trimming in the same command as adding.

It was covered in this issue #1894, and more specifically this PR #2172 addressing another issue #1961 which in turn requested the same arguments for the XTRIM command when the feature was released in redis 6.2.0.

I've been wanting to use these features in my own code, but found them lacking, and with no inherent explanation on their omission i did my best following the existing implementation of them in XTRIM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant