Functions

FUNCTION LIST

List details about the registered libraries and functions.

Arguments

optionsbodyObject

The list options.

Response

Object[]required

List of libraries.

Example
const libs = await redis.functions.list({    libraryName: "mylib",    withCode: true})console.log(libs)// [//   {//     libraryName: "mylib",//     engine: "LUA",//     functions: [{//       name: "my_func",//       description: null,//       flags: [ "no-writes" ]//     }],//     libraryCode: "#!lua name=mylib ..."//   }// ]
Loading search…