Skip to content

Conversation

@vladvildanov
Copy link
Contributor

@vladvildanov vladvildanov linked an issue Dec 12, 2022 that may be closed by this pull request
* @method $this zdiffstore(string $destination, array $keys)
* @method $this zincrby($key, $increment, $member)
* @method $this zinterstore(string $destination, array $keys, int[] $weights = [], string $aggregate = 'sum')
* @method $this zinter(array $keys, int[] $weights = [], string $aggregate = 'sum', bool $withScores = false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the keys and weights be a single array?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as ZUNION. Keys should be array because of numkeys calculation and weights as array just easier to maintain

@tillkruss tillkruss merged commit 72bc11e into predis:main Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Add support for missing redis command ZINTER

2 participants