diff options
author | antirez <antirez@gmail.com> | 2020-03-23 11:17:50 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-03-23 11:17:50 +0100 |
commit | 19f5be231d5b745f84f562d40b5e5c5aa1939393 (patch) | |
tree | 35145a489db7ceea3a290e25064c2ebfc872d070 | |
parent | 7c5dc070163adf2455b035441af9d97658af3a90 (diff) | |
download | redis-19f5be231d5b745f84f562d40b5e5c5aa1939393.tar.gz |
Modules: updated function doc after #7003.
-rw-r--r-- | src/module.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index d6b055f78..6f61a5ca8 100644 --- a/src/module.c +++ b/src/module.c @@ -1795,7 +1795,12 @@ int RM_GetSelectedDb(RedisModuleCtx *ctx) { * current request context (whether the client is a Lua script or in a MULTI), * and about the Redis instance in general, i.e replication and persistence. * - * The available flags are: + * It is possible to call this function even with a NULL context, however + * in this case the following flags will not be reported: + * + * * LUA, MULTI, REPLICATED, DIRTY (see below for more info). + * + * Available flags and their meaning: * * * REDISMODULE_CTX_FLAGS_LUA: The command is running in a Lua script * |