如何用redis写一个quries [英] How to write a quries in redis
本文介绍了如何用redis写一个quries的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以为redis报表查询提供示例
通常我们会在sql查询中使用group by如何在redis中获得同样的结果
我尝试了什么:
i尝试过使用ZRange我创建了字符串
Hi,
can any one give the example for redis report queries
usually we will use group by in sql queries how to achive same result in redis
What I have tried:
i tried using ZRange i struck at creating indexes for string
推荐答案
的索引阅读文档:二级索引使用Redis - Redis [ ^ ]
Read the documentation : Secondary indexing with Redis – Redis[^]
这篇关于如何用redis写一个quries的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文