Skip to content

Fix set_then_get Lua function signatures - #309

Open
lntutor wants to merge 1 commit into
valkey-io:mainfrom
lntutor:docs/301-fix-lua-function-signature
Open

Fix set_then_get Lua function signatures#309
lntutor wants to merge 1 commit into
valkey-io:mainfrom
lntutor:docs/301-fix-lua-function-signature

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026

Copy link
Copy Markdown

Summary

Updates every set_then_get example to accept Valkey Functions’ (keys, args) arrays and index the first key and argument before calling SET and GET.

Validation

  • pnpm run format:check:mdx
  • pnpm build
  • git diff --check

Checklist

  • Targets main
  • MDX formatting passes
  • Documentation build and internal-link validation pass
  • Commit includes DCO sign-off

Fixes #301

Signed-off-by: Loi Nguyen <vanloi999@gmail.com>
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.

Incorrect Lua function signature in set_then_get examples

1 participant