I am using the new geospatial features in Redis. I know that behind the scenes this uses ZSET.
I add new entries this way:
GEOADD" "report-geo-set" "4.78335244" "32.07223969" "jossef"
How can I add expiration to specific entries (in my case: "jossef")
on my set?
If the API does not provide, is there a way to do this?
Thanks ray.
Unfortunately, no - Redis runs out of integer keys, not values, in its corresponding data structures. Geo Hashes implemented on top Sorted sets and expiration of individual members is not supported.
, , . , , , ZRANGEBYSCORE "" ZREM, Geo Hash.
Source: https://habr.com/ru/post/1612113/More articles:Bootstrap: active class - jquerycurl stops talking SPNEGO - unknown fur code 0 for fur unknown - httpDjango rest framework serializer returns list instead of json - pythongulp - typescript и опция outFile в tsconfig.json - asp.net-coreWxpython installation fails with OSX10.11, despite changing security settings and using command line installation - installКак стилизовать значки в React Native - react-nativeGulp VS2015.Net5 - asp.netСоздание свойства, заданного только определенным методом - enumsМожно ли сделать эту грамматику YACC однозначной? expr:...Django tests, transactions and angular protractor - pythonAll Articles