Skip to content

Conversation

BridgeAR
Copy link
Contributor

@BridgeAR BridgeAR commented Sep 3, 2015

The old code is not necessary at all and can safely be removed. There were only a few very old redis commands that we should probably not support anymore.

Support is dropped for:

[ 'substr' ]

New commands supported are:

[ 'command', 'geoadd', 'geohash', 'geopos', 'geodist', 'georadius', 'georadiusbymember', 'hstrlen', 'role', 'wait', 'zrevrangebylex' ]

The new commands have no tests yet, but I'd say this is good to go right away and we should add some tests for this later on.

@BridgeAR
Copy link
Contributor Author

BridgeAR commented Sep 4, 2015

Superseds #702

@bcoe
Copy link
Contributor

bcoe commented Sep 4, 2015

@BridgeAR good job. It's cool to see those cluster commands coming in, it would be neat to put a test or two around those to get a feel for the API. :shipit:

@BridgeAR
Copy link
Contributor Author

BridgeAR commented Sep 4, 2015

@bcoe cluster was already supported, but I'm uncertain if it works. So we should definitely add some tests but I guess that could be done in a separate PR?

}

if (Array.isArray(args)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

args is always an array

Add use strict

Add changelog entry
BridgeAR added a commit that referenced this pull request Sep 12, 2015
Update commands list and remove unecessary code
@BridgeAR BridgeAR merged commit 4e42fb7 into redis:master Sep 12, 2015
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.

3 participants