You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+34-4Lines changed: 34 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2995,10 +2995,40 @@ _**Description**_: A command allowing you to get information on the Redis pub/su
2995
2995
2996
2996
##### *Example*
2997
2997
~~~
2998
-
$redis->pubsub("channels"); /*All channels */
2999
-
$redis->pubsub("channels", "*pattern*"); /* Just channels matching your pattern */
3000
-
$redis->pubsub("numsub", Array("chan1", "chan2")); /*Get subscriber counts for 'chan1' and 'chan2'*/
3001
-
$redsi->pubsub("numpat"); /* Get the number of pattern subscribers */
2998
+
$redis->pubSub("channels"); /*All channels */
2999
+
$redis->pubSub("channels", "*pattern*"); /* Just channels matching your pattern */
3000
+
$redis->pubSub("numsub", Array("chan1", "chan2")); /*Get subscriber counts for 'chan1' and 'chan2'*/
3001
+
$redis->pubSub("numpat"); /* Get the number of pattern subscribers */
3002
+
```
3003
+
3004
+
~~~
3005
+
3006
+
## Generic
3007
+
1.[rawCommand](#rawcommand) - Execute any generic command against the server.
3008
+
3009
+
### rawCommand
3010
+
-----
3011
+
_**Description**_: A method to execute any arbitrary command against the a Redis server
3012
+
3013
+
##### *Parameters*
3014
+
This method is variadic and takes a dynamic number of arguments of various types (string, long, double), but must be passed at least one argument (the command keyword itself).
3015
+
3016
+
##### *Return value*
3017
+
The return value can be various types depending on what the server itself returns. No post processing is done to the returned value and must be handled by the client code.
0 commit comments