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.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -724,12 +724,18 @@ the key names are not utf8 strings.
724
724
There are also `hscanStream`, `zscanStream` and `sscanStream` to iterate through elements in a hash, zset and set. The interface of each is
725
725
similar to `scanStream` except the first argument is the key name:
726
726
727
+
```javascript
728
+
conststream=redis.zscanStream("myhash", {
729
+
match:"age:??",
730
+
});
731
+
```
732
+
The `hscanStream` also accepts the `noValues` option to specify whether Redis should return only the keys in the hash table without their corresponding values.
727
733
```javascript
728
734
conststream=redis.hscanStream("myhash", {
729
735
match:"age:??",
736
+
noValues:true,
730
737
});
731
738
```
732
-
733
739
You can learn more from the [Redis documentation](http://redis.io/commands/scan).
0 commit comments