summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/function-list.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/function-list.md')
-rw-r--r--iredis/data/commands/function-list.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/iredis/data/commands/function-list.md b/iredis/data/commands/function-list.md
new file mode 100644
index 0000000..bb66dba
--- /dev/null
+++ b/iredis/data/commands/function-list.md
@@ -0,0 +1,21 @@
+Return information about the functions and libraries.
+
+You can use the optional `LIBRARYNAME` argument to specify a pattern for matching library names.
+The optional `WITHCODE` modifier will cause the server to include the libraries source implementation in the reply.
+
+The following information is provided for each of the libraries in the response:
+
+* **library_name:** the name of the library.
+* **engine:** the engine of the library.
+* **functions:** the list of functions in the library.
+ Each function has the following fields:
+ * **name:** the name of the function.
+ * **description:** the function's description.
+ * **flags:** an array of [function flags](/docs/manual/programmability/functions-intro/#function-flags).
+* **library_code:** the library's source code (when given the `WITHCODE` modifier).
+
+For more information please refer to [Introduction to Redis Functions](/topics/functions-intro).
+
+@return
+
+@array-reply