stefanwille / crystal-redis

Full featured Redis client for Crystal
MIT License
380 stars 61 forks source link

Redis.mapping #56

Closed Jens0512 closed 6 years ago

Jens0512 commented 6 years ago

Something like Redis.mapping would be extremely convenient, and follows the convetion, eg. JSON, YAML and DB -.mapping.

I am quite new to redis, and would like to know whether this is realistic or not.

stefanwille commented 6 years ago

I don't know what you mean?

kostya commented 6 years ago

there is no any sense, you can use JSON.mapping or any other and redis.set "bla", data.to_json, Data.from_json(redis.get("bla"))

Jens0512 commented 6 years ago

Yeah, alright, thanks!