-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
dynamic NUMBER_OF_KEYS for Lua Script #1990
Labels
Comments
You can't 🤦♂️ I think I'll make |
Sounds good, but how do I define/execute the script on the fly, not just
when creating the redis client?
Thanks
…On Mon, Feb 21, 2022 at 9:55 AM Leibale Eidelman ***@***.***> wrote:
You can't 🤦♂️
I think I'll make script.NUMBER_OF_KEYS optional, and then you'll be able
to prepend it to args in script.transformArguments. WDYT?
—
Reply to this email directly, view it on GitHub
<#1990 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHU7IA4VWL2EEMW353OXDDU4J4AXANCNFSM5OT4DIPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You cannot extend the client with a script on the fly, but you can always use |
So can I combine client.executeScript and script.transformArguments?
…On Mon, Feb 21, 2022 at 12:00 PM Leibale Eidelman ***@***.***> wrote:
You cannot define a script on the fly, but you can always use
client.executeScript
—
Reply to this email directly, view it on GitHub
<#1990 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHU7IBDWAPCNGPY4MGNUZLU4KKVDANCNFSM5OT4DIPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
How do I code a lua script that has a dynamic NUMBER_OF_KEYS?
Something like mHmGet?
Here's the lua script that I've got:
Thanks
The text was updated successfully, but these errors were encountered: