1
0
mirror of https://github.com/luanti-org/minetestmapper.git synced 2025-10-06 05:45:21 +02:00

DBRedis: add HMGET

Redis HMGET command allows to query multiple fields in the same request.
Limit to a maximum of DB_REDIS_HMGET_NUMKEYS fields per HMGET request.
This commit is contained in:
Christophe Le Roy
2016-10-09 00:34:06 +02:00
committed by sfan5
parent 53706e811b
commit fabde97847
2 changed files with 59 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ private:
static std::string replyTypeStr(int type);
void loadPosCache();
void HMGET(const std::vector<BlockPos> &positions, std::vector<ustring> *result);
std::vector<BlockPos> posCache;