diff options
author | Alexander Schranz <alexander@sulu.io> | 2019-04-06 16:44:54 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2019-04-06 22:41:00 +0300 |
commit | 5bf0c84c8fc7411e3d1dbee821c96b5a73561849 (patch) | |
tree | 227cdb7407938c2b8630a6e6390010f21fe8f987 /README.markdown | |
parent | 591585c4bc0bd199a8744a9299fffbbe91170f7b (diff) |
Fix example how to create a stream with a new group
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index 2ae17e42..c2d44268 100644 --- a/README.markdown +++ b/README.markdown @@ -3430,8 +3430,8 @@ _**Description**_: This command is used in order to create, destroy, or manage ##### *Example* ~~~php -$obj_redis->xGroup('CREATE', 'mystream', 'mygroup'); -$obj_redis->xGroup('CREATE', 'mystream', 'mygroup2', true); /* Create stream if non-existent. */ +$obj_redis->xGroup('CREATE', 'mystream', 'mygroup', 0); +$obj_redis->xGroup('CREATE', 'mystream', 'mygroup2', 0, true); /* Create stream if non-existent. */ $obj_redis->xGroup('DESTROY', 'mystream', 'mygroup'); ~~~ |