File tree 1 file changed +2
-12
lines changed
1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -710,7 +710,8 @@ Care must be taken when adding namespacing support to existing systems. The
710
710
following caveats need be considered:
711
711
712
712
- The `keys ` command will namespace any provided pattern and default to the
713
- return value of `add_namespace('*') `.
713
+ return value of `add_namespace('*') `. The `scan ` command's `MATCH ` arg
714
+ will default to `add_namespace('*') `.
714
715
715
716
- There is no way to know if your existing data structures contain
716
717
non-namspaced keys. Therefore, any existing data structures that
@@ -724,17 +725,6 @@ following caveats need be considered:
724
725
- Cluster commands, using `r.cluster(...) `, *do not * currently support
725
726
namespacing.
726
727
727
- You can make a function run the `rm_namespace ` function on its response by
728
- overriding the method and passing the `rm_namespace ` kwarg to the
729
- `execute_command ` function.
730
-
731
- .. code-block :: pycon
732
-
733
- >>> class MyRedis(StrictRedis):
734
- ... def randomkey(self):
735
- ... return self.execute_command('RANDOMKEY',
736
- ... rm_namespace=self.rm_namespace)
737
-
738
728
Author
739
729
^^^^^^
740
730
You can’t perform that action at this time.
0 commit comments