当前位置:网站首页>Value/set in redis
Value/set in redis
2022-07-01 11:22:00 【Daily enlightenment】
features : disorder 、 duplicate removal
sadd k1 s ss sss ssss s
smembers k1 s ss sss ssss
srem k1 s ss
smembers k1 sss ssss
sadd k2 1 2 3 4 5
sadd k3 4 5 6 7 8
smembers k2 1 2 3 4 5
smembers k3 4 5 6 7 8
sinter k2 k3 4 5 intersection
sinterstore dest k2 k3 intersection
smembers dest 4 5
sunion k2 k3 1 2 3 4 5 6 7 8 Combine
sdiff k2 k3 1 2 3 Difference set k2 - k2 k3 Union
sdiff k3 k2 6 7 8 Difference set k3 - k2 k3 Union
sadd k1 s ss sss ssss sssss ssssss sssssss
srandmember k1 5 -5 10 -10
srandmember key count
count Positive numbers : Take out a de duplication result set ( Cannot exceed existing set )
count negative : Take out a result set with duplicates , Be sure to meet the quantity you want
If 0: No return
spop key: Take out a
边栏推荐
- 2022/6/29学习总结
- 关于Keil编译程序出现“File has been changed outside the editor,reload?”的解决方法
- Dameng data rushes to the scientific innovation board: it plans to raise 2.4 billion yuan. Feng Yucai was once a professor of Huake
- 京东与腾讯续签合作:向腾讯发行A类股 价值最高达2.2亿美元
- How to make the development of liquidity pledge mining system, case analysis and source code of DAPP defi NFT LP liquidity pledge mining system development
- Get key code
- Whether lending a bank card to others constitutes a crime
- 技术分享 | Linkis参数介绍
- 华为设备配置大型网络WLAN基本业务
- 内核同步机制
猜你喜欢

“目标检测”+“视觉理解”实现对输入图像的理解及翻译(附源代码)

2022年6月编程语言排行,第一名居然是它?!

The idea runs with an error command line is too long Shorten command line for...

Face detection and recognition system based on mtcnn+facenet

The project bar on the left side of CodeBlocks disappears, workspace automatically saves the project, default workspace, open the last workspace, workspace (Graphic tutorial, solved)

Intel Labs annonce de nouveaux progrès en photonique intégrée

CVPR22 |CMT:CNN和Transformer的高效结合(开源)

CVPR 2022 | 基于密度与深度分解的自增强非成对图像去雾

TEMPEST HDMI泄漏接收 4

Y48. Chapter III kubernetes from introduction to mastery -- pod status and probe (21)
随机推荐
Matrix of numpy
英特爾實驗室公布集成光子學研究新進展
Huawei equipment is configured with large network WLAN basic services
applyMiddleware 原理
Brief analysis of edgedb architecture
redis中value/hush
IPlImage的width和widthStep
華為設備配置大型網絡WLAN基本業務
The idea runs with an error command line is too long Shorten command line for...
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
Packet mode and three streaming modes in SDP protocol
MySQL IN 和 NOT IN () 空列表报错
Goldfish rhca memoirs: do447 uses ansible to communicate with API -- using ansible tower API to start jobs
软件项目管理 9.2.软件项目配置管理过程
sshd_ Discussion on permitrotlogin in config
分享psd格式怎么预览的方法和psd文件缩略图插件[通俗易懂]
JS日期格式化转换方法
Can I open an account today and buy stocks today? Is it safe to open an account online?
Neo4j 中文开发者月刊 - 202206期
[AI information monthly] 350 + resources! All the information and trends that can't be missed in June are here! < Download attached >