diff options
author | guybe7 <guy.benoish@redislabs.com> | 2022-01-30 11:00:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-30 12:00:03 +0200 |
commit | eedec155acdd0ead3536edf6988e250a1a9fcb3e (patch) | |
tree | 5bd57919652dfb4bcfe387cacd89f5952063f2a0 /redis.conf | |
parent | be0d2933545354f4868f8e4807a11f8e79c03736 (diff) | |
download | redis-eedec155acdd0ead3536edf6988e250a1a9fcb3e.tar.gz |
Add key-specs notes (#10193)
Add optional `notes` to keyspecs.
Other changes:
1. Remove the "incomplete" flag from SORT and SORT_RO: it is misleading since "incomplete" means "this spec may not return all the keys it describes" but SORT and SORT_RO's specs (except the input key) do not return any keys at all.
So basically:
If a spec's begin_search is "unknown" you should not use it at all, you must use COMMAND KEYS;
if a spec itself is "incomplete", you can use it to get a partial list of keys, but if you want all of them you must use COMMAND GETKEYS;
otherwise, the spec will return all the keys
2. `getKeysUsingKeySpecs` handles incomplete specs internally
Diffstat (limited to 'redis.conf')
0 files changed, 0 insertions, 0 deletions