MODULE
Since 1.1.0OtherChanged in 1.2.1
Syntax
MODULEHistory
- 1.2.1: acl categories: removed server
KiviDB does not load modules. Search, JSON, time series and vector sets are built into the server, and their commands are always there; there is nothing to load and nothing to unload. MODULE is kept so that clients and tools that ask a server about its modules get an answer.
| Subcommand | |
|---|---|
MODULE LIST | names the built-in families, as Redis names its modules, for clients that check |
MODULE LOAD | refused |
MODULE LOADEX | refused |
MODULE UNLOAD | refused |
MODULE HELP | the list, from the server |
LOAD, LOADEX and UNLOAD reply ERR MODULE subsystem is not supported by KiviDB. ..., and so does a subcommand that is not one of these, where other containers reply unknown subcommand. A loadmodule line in the configuration file stops the server at startup (Migrating from Redis). MODULE alone is an error.
Examples
> MODULE
(error) ERR wrong number of arguments for 'module' command
> MODULE LIST
1) 1) "name"
2) "search"
...
> MODULE LOAD /usr/lib/redis/modules/redisearch.so
(error) ERR MODULE subsystem is not supported by KiviDB. Dynamic module loading requires dlopen and ABI versioning which conflicts with KiviDB's safety model. See COMMANDS.md for the design rationale.
Subcommands
- MODULE HELP: Lists the MODULE subcommands, with their arguments and a line on what each does: LIST, LOAD, LOADEX, UNLOAD and HELP itself.
- MODULE LIST: Names the built-in families clients look for, with the versions of Redis 8.10's, and an empty path, as Redis lists its built-in vectorset: search, ReJSON, timeseries and vectorset.
- MODULE LOAD: Refused, whatever the path: KiviDB does not load modules.
- MODULE LOADEX: Refused, as MODULE LOAD is: KiviDB does not load modules.
- MODULE UNLOAD: Refused, as MODULE LOAD is: KiviDB does not load modules, so there is none to unload.