openresty / openresty/lua-resty-redis

hmget能否增加一个传入fied数组的方法?

Open
#29 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
2k
Forks
447
Avg merge
2h 24m
Merged PRs (30d)
3

Description

现在 red:hmget 传入的是可变参数,能否想hmset一样传入数组啊,或者安装redis
原生的命令 hmget hashname field1 field2?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the red:hmget and red:hmset implementations and compare how their arguments are handled. Check the Redis HMGET command semantics, then add and test array-based field input while preserving the existing variadic form; done means both forms return the expected values.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, redis
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.