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

redis script command support #1

Merged
merged 1 commit into from
Feb 26, 2024
Merged

redis script command support #1

merged 1 commit into from
Feb 26, 2024

Conversation

lukemakeit
Copy link
Owner

Problem
redis script command not support.

Solution
Send the script command to all Redis servers for execution, and get one of the results and return it to the user client.

Result

> script load "return redis.call('hset',KEYS[1],KEYS[1],KEYS[1])"
"dbbae75a09f1390aaf069fb60e951ec23cab7a15"
> script exists dbbae75a09f1390aaf069fb60e951ec23cab7a15
1) (integer) 1

@lukemakeit lukemakeit merged commit 3f904e2 into master Feb 26, 2024
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.

1 participant