| 124 | ///////////////////////////////////////////////////////////////////////////// |
| 125 | |
| 126 | bool redis_hash::hmget(const char* key, const std::vector<string>& names, |
| 127 | std::vector<string>* result /* = NULL */) |
| 128 | { |
| 129 | hash_slot(key); |
| 130 | build("HMGET", key, names); |
| 131 | return get_strings(result) >= 0 ? true : false; |
| 132 | } |
| 133 | |
| 134 | bool redis_hash::hmget(const char* key, size_t klen, |
| 135 | const std::vector<string>& names, |