Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
cjavad wants to merge 4 commits into
phpredis:developphpredis/phpredis:developfrom
cjavad:xadd-new-argscjavad/phpredis:xadd-new-argsCopy head branch name to clipboard
Open

Add additional arguments for XADD from Redis 6.2.0 missed by #1894#2393
cjavad wants to merge 4 commits into
phpredis:developphpredis/phpredis:developfrom
cjavad:xadd-new-argscjavad/phpredis:xadd-new-argsCopy head branch name to clipboard

Conversation

@cjavad

@cjavad cjavad commented Sep 24, 2023

Copy link
Copy Markdown

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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.