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

append command for strings #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

saromanov
Copy link

Hi guys! It looks, that append command is missing, so i added it.

   var r = redismock.createClient();
   r.append("foo", "bar1", function(err, result) {
     r.append("foo", "bar2", function(err, result) {
         r.get("foo", function(err, result) {
               result.should.equal("bar1bar2")
               r.end();
               done();
            });
        });
      });

@danielzurawski
Copy link

👍 Any chance for this PR to be merged at some point? It seems this project has been abandoned by its maintainer (last commit 2015) and this PR is open since last year.

@danielzurawski
Copy link

I have now moved onto https://github.com/hdachev/fakeredis which works as a drop-in alternative for this library. It has .append implemented and seems more feature rich (e.g. simulate latencies).

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