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

transaction with watch example added #2292

Closed
wants to merge 0 commits into from

Conversation

sailingwithsandeep
Copy link
Contributor

Description

#2280

My pull request is about creating an example of redis transactions which shows a sample code that runs in isolated connection and provides optimistic locking with check-and-set (CAS) behavior.


Checklist

  • [] Does npm test pass with this change (including linting)?
  • [] Is the new or changed code fully tested?
  • [] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

@SuzeShardlow
Copy link
Contributor

Thanks for your PR @sailingwithsandeep, we will check it out :)

Copy link
Contributor

@simonprickett simonprickett left a comment

Choose a reason for hiding this comment

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

Hi there @sailingwithsandeep I'm unable to run this:

examples $ node transaction-with-watch.js
Error: ReferenceError: redis is not defined

Please can you check into this and make sure that the code runs. Thanks.

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