Answer the question
In order to leave comments, you need to log in
Redis how to make like selection?
There is a base in redis, stores url's.
The structure is something like this:
PU[ID]:tttp://lol.ru/image/file-one.jpg
PU[123]:tttp://test.ru/txt/some.txt
PU[451]:tttp:/ /test.ru/txt/new.txt
I think it's pretty clear. How to make a selection by the value mask "tttp://test.ru/txt/*" and get all the keys (id) that match the selection condition of the records?
ttp = http, toaster autocorrect
Answer the question
In order to leave comments, you need to log in
Directly like this in the forehead - no way, it’s not sharpened for this, but the solution of such a plan has a place to be.
stackoverflow.com/questions/7604455/how-to-search-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question