TFUNCTION DELETE

Syntax
TFUNCTION DELETE "<library name>" 
Available in:
Redis Stack / Triggers and functions 2.0.0
Time complexity:
O(1)

Delete a JavaScript library from Redis.

Required arguments

library name

The name of the library to delete.

Return

TFUNCTION DELETE returns either

  • "OK" when the library was deleted correctly.
  • Error reply when the library could not be deleted.

Examples

TFUNCTION DELete lib
1) "OK"

See also

Rate this page