lastkey: the index, relative to begin_search, of the last key argument.The range type of find_keys is a map under the spec key with three keys: keynum: an additional argument specifies the number of input keys.range: keys stop at a specific index or relative to the last argument.The find_keys value of a key specification tells the client how to continue the search for key names. MIGRATE has a start_search specification of type keyword with the values of "KEYS" and -2.XREAD has a begin_search specification of type keyword with the values "STREAMS" and 1 as keyword and startfrom, respectively.SET has a begin_search specification of type index with a value of 1.More examples of the keyword search type include: This can be a negative value, which means the search should start from the end of the arguments' array, in reverse order.įor example, -2's meaning is to search reverse from the penultimate argument. startfrom: an index to the arguments array from which the client should begin searching.keyword: the keyword (token) that marks the beginning of key name arguments.It is a map under the spec with two keys: ![]() The keyword type of begin_search means a literal token precedes key name arguments.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |