Skip to content

Conversation

@harshadptl
Copy link

No description provided.

@harshadptl harshadptl changed the title Lotes of changes for Redis & MySQL Lots of changes for Redis & MySQL May 6, 2015
Copy link
Owner

Choose a reason for hiding this comment

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

Hey @harshadptl,

Thank you for this pull-request.

I had couple of concerns and wanted to know your opinions.

  1. Do we need Sismembers?. Just like Sadd, we can use Sismember to work with multiple keys IMO.
  2. Instead of returning NoImplemented error, wouldnt it be useful if we could use "get" or any other workaround to check membership?.

Copy link
Author

Choose a reason for hiding this comment

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

  1. Thats a good idea
  2. Didn't get your point

Copy link
Owner

Choose a reason for hiding this comment

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

For 2. Instead of returning this "errors.New("mantle: SETS/Sismember unimplemented for memcache datastore")", we can do a get(key) and check if it exists. NotImpleted error is not so useful IMO.

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.

2 participants