You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
938 B
35 lines
938 B
{
|
|
"LOAD": {
|
|
"summary": "Create a function with the given arguments (name, code, description)",
|
|
"complexity": "O(1) (considering compilation time is redundant)",
|
|
"group": "scripting",
|
|
"since": "7.0.0",
|
|
"arity": -3,
|
|
"container": "FUNCTION",
|
|
"function": "functionLoadCommand",
|
|
"command_flags": [
|
|
"NOSCRIPT",
|
|
"WRITE",
|
|
"DENYOOM"
|
|
],
|
|
"acl_categories": [
|
|
"SCRIPTING"
|
|
],
|
|
"command_tips": [
|
|
"REQUEST_POLICY:ALL_SHARDS",
|
|
"RESPONSE_POLICY:ALL_SUCCEEDED"
|
|
],
|
|
"arguments": [
|
|
{
|
|
"name": "replace",
|
|
"type": "pure-token",
|
|
"token": "REPLACE",
|
|
"optional": true
|
|
},
|
|
{
|
|
"name": "function-code",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|