Async-Redis

 view release on metacpan or  search on metacpan

script/commands.json  view on Meta::CPAN

                    "spec": {
                        "lastkey": 0,
                        "keystep": 1,
                        "limit": 0
                    }
                },
                "RW": true,
                "access": true,
                "delete": true
            }
        ],
        "arguments": [
            {
                "name": "key",
                "type": "key",
                "display_text": "key",
                "key_spec_index": 0
            },
            {
                "name": "count",
                "type": "integer",
                "display_text": "count",
                "since": "3.2.0",
                "optional": true
            }
        ],
        "command_flags": [
            "write",
            "fast"
        ],
        "hints": [
            "nondeterministic_output"
        ]
    },
    "SPUBLISH": {
        "summary": "Post a message to a shard channel",
        "since": "7.0.0",
        "group": "pubsub",
        "complexity": "O(N) where N is the number of clients subscribed to the receiving shard channel.",
        "acl_categories": [
            "@pubsub",
            "@fast"
        ],
        "arity": 3,
        "key_specs": [
            {
                "begin_search": {
                    "type": "index",
                    "spec": {
                        "index": 1
                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": 0,
                        "keystep": 1,
                        "limit": 0
                    }
                },
                "not_key": true
            }
        ],
        "arguments": [
            {
                "name": "shardchannel",
                "type": "string",
                "display_text": "shardchannel"
            },
            {
                "name": "message",
                "type": "string",
                "display_text": "message"
            }
        ],
        "command_flags": [
            "pubsub",
            "loading",
            "stale",
            "fast"
        ]
    },
    "SRANDMEMBER": {
        "summary": "Get one or multiple random members from a set",
        "since": "1.0.0",
        "group": "set",
        "complexity": "Without the count argument O(1), otherwise O(N) where N is the absolute value of the passed count.",
        "history": [
            [
                "2.6.0",
                "Added the optional `count` argument."
            ]
        ],
        "acl_categories": [
            "@read",
            "@set",
            "@slow"
        ],
        "arity": -2,
        "key_specs": [
            {
                "begin_search": {
                    "type": "index",
                    "spec": {
                        "index": 1
                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": 0,
                        "keystep": 1,
                        "limit": 0
                    }
                },
                "RO": true,
                "access": true
            }
        ],
        "arguments": [
            {

script/commands.json  view on Meta::CPAN

        "arguments": [
            {
                "name": "key",
                "type": "key",
                "display_text": "key",
                "key_spec_index": 0
            },
            {
                "name": "cursor",
                "type": "integer",
                "display_text": "cursor"
            },
            {
                "name": "pattern",
                "type": "pattern",
                "display_text": "pattern",
                "token": "MATCH",
                "optional": true
            },
            {
                "name": "count",
                "type": "integer",
                "display_text": "count",
                "token": "COUNT",
                "optional": true
            }
        ],
        "command_flags": [
            "readonly"
        ],
        "hints": [
            "nondeterministic_output"
        ]
    },
    "SSUBSCRIBE": {
        "summary": "Listens for messages published to shard channels.",
        "since": "7.0.0",
        "group": "pubsub",
        "complexity": "O(N) where N is the number of shard channels to subscribe to.",
        "acl_categories": [
            "@pubsub",
            "@slow"
        ],
        "arity": -2,
        "key_specs": [
            {
                "begin_search": {
                    "type": "index",
                    "spec": {
                        "index": 1
                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": -1,
                        "keystep": 1,
                        "limit": 0
                    }
                },
                "not_key": true
            }
        ],
        "arguments": [
            {
                "name": "shardchannel",
                "type": "string",
                "display_text": "shardchannel",
                "multiple": true
            }
        ],
        "command_flags": [
            "pubsub",
            "noscript",
            "loading",
            "stale"
        ]
    },
    "STRLEN": {
        "summary": "Returns the length of a string value.",
        "since": "2.2.0",
        "group": "string",
        "complexity": "O(1)",
        "acl_categories": [
            "@read",
            "@string",
            "@fast"
        ],
        "arity": 2,
        "key_specs": [
            {
                "begin_search": {
                    "type": "index",
                    "spec": {
                        "index": 1
                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": 0,
                        "keystep": 1,
                        "limit": 0
                    }
                },
                "RO": true
            }
        ],
        "arguments": [
            {
                "name": "key",
                "type": "key",
                "display_text": "key",
                "key_spec_index": 0
            }
        ],
        "command_flags": [
            "readonly",
            "fast"
        ]
    },

script/commands.json  view on Meta::CPAN

                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": -1,
                        "keystep": 1,
                        "limit": 0
                    }
                },
                "RO": true,
                "access": true
            }
        ],
        "arguments": [
            {
                "name": "destination",
                "type": "key",
                "display_text": "destination",
                "key_spec_index": 0
            },
            {
                "name": "key",
                "type": "key",
                "display_text": "key",
                "key_spec_index": 1,
                "multiple": true
            }
        ],
        "command_flags": [
            "write",
            "denyoom"
        ]
    },
    "SUNSUBSCRIBE": {
        "summary": "Stops listening to messages posted to shard channels.",
        "since": "7.0.0",
        "group": "pubsub",
        "complexity": "O(N) where N is the number of shard channels to unsubscribe.",
        "acl_categories": [
            "@pubsub",
            "@slow"
        ],
        "arity": -1,
        "key_specs": [
            {
                "begin_search": {
                    "type": "index",
                    "spec": {
                        "index": 1
                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": -1,
                        "keystep": 1,
                        "limit": 0
                    }
                },
                "not_key": true
            }
        ],
        "arguments": [
            {
                "name": "shardchannel",
                "type": "string",
                "display_text": "shardchannel",
                "optional": true,
                "multiple": true
            }
        ],
        "command_flags": [
            "pubsub",
            "noscript",
            "loading",
            "stale"
        ]
    },
    "SWAPDB": {
        "summary": "Swaps two Redis databases.",
        "since": "4.0.0",
        "group": "server",
        "complexity": "O(N) where N is the count of clients watching or blocking on keys from both databases.",
        "acl_categories": [
            "@keyspace",
            "@write",
            "@fast",
            "@dangerous"
        ],
        "arity": 3,
        "arguments": [
            {
                "name": "index1",
                "type": "integer",
                "display_text": "index1"
            },
            {
                "name": "index2",
                "type": "integer",
                "display_text": "index2"
            }
        ],
        "command_flags": [
            "write",
            "fast"
        ]
    },
    "SYNC": {
        "summary": "An internal command used in replication.",
        "since": "1.0.0",
        "group": "server",
        "acl_categories": [
            "@admin",
            "@slow",
            "@dangerous"
        ],
        "arity": 1,
        "command_flags": [
            "admin",
            "noscript",



( run in 0.665 second using v1.01-cache-2.11-cpan-39bf76dae61 )